<commit_before>- name: Send request to API
  uri:
    url: "{{ AUTH_URL_VPC }}/v1/{{ PROJECT_ID }}/vpcs"
    method: POST
    body_format: raw
    follow_redirects: all
    return_content: yes 
    validate_certs: yes
    HEADER_Content-Type: "application/json"
    HEADER_X-Auth-Token: "{{ token['x_subject_token'] }}"
    body: "{{ lookup('template', 'roles/vpc_create/templates/request.json.j2')|to_json }}" 
  when: (not vpc_id and vpc_name is defined)
  register: vpc

- debug:
    msg: "{{ vpc }}"
<commit_msg>fix vpc_create condition<commit_after>- name: Send request to API
  uri:
    url: "{{ AUTH_URL_VPC }}/v1/{{ PROJECT_ID }}/vpcs"
    method: POST
    body_format: raw
    follow_redirects: all
    return_content: yes 
    validate_certs: yes
    HEADER_Content-Type: "application/json"
    HEADER_X-Auth-Token: "{{ token['x_subject_token'] }}"
    body: "{{ lookup('template', 'roles/vpc_create/templates/request.json.j2')|to_json }}" 
  when: 
    - not vpc_id or vpc_id is undefined
    - vpc_name is defined
  register: vpc

- debug:
    msg: "{{ vpc }}"

{'fraction_non_alphanumeric': 0.14165890027958994, 'fraction_numerical': 0.003727865796831314, 'mean_word_length': 3.419753086419753, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3690221', 'n_tokens_mistral': 407, 'n_tokens_neox': 395, 'n_words': 87}