|
|
|
|
@ -26,7 +26,7 @@
|
|
|
|
|
password: "{{ awx_ansible_password }}"
|
|
|
|
|
is_system_auditor: "true"
|
|
|
|
|
uri:
|
|
|
|
|
url: "https://{{ shared_service_kube_awx_hostname }}/api/v2/users/"
|
|
|
|
|
url: "{{ shared_service_kube_url_awx }}/api/v2/users/"
|
|
|
|
|
method: POST
|
|
|
|
|
user: "{{ awx_rest_api_access_user }}"
|
|
|
|
|
password: "{{ awx_rest_api_access_pw }}"
|
|
|
|
|
@ -109,7 +109,7 @@
|
|
|
|
|
- name: "Add <Machine> credentials <{{ awx_credential_machine_hetzner_name }}> with user: {{ ansible_awx_user_id }}"
|
|
|
|
|
delegate_to: localhost
|
|
|
|
|
uri:
|
|
|
|
|
url: "https://{{ shared_service_kube_awx_hostname }}/api/v2/credentials/"
|
|
|
|
|
url: "{{ shared_service_kube_url_awx }}/api/v2/credentials/"
|
|
|
|
|
method: POST
|
|
|
|
|
user: "{{ awx_rest_api_access_user }}"
|
|
|
|
|
password: "{{ awx_rest_api_access_pw }}"
|
|
|
|
|
@ -168,7 +168,7 @@
|
|
|
|
|
- name: "Add <Source Control> credentials <{{ stage }}-gitea>"
|
|
|
|
|
delegate_to: localhost
|
|
|
|
|
uri:
|
|
|
|
|
url: "https://{{ shared_service_kube_awx_hostname }}/api/v2/credentials/"
|
|
|
|
|
url: "{{ shared_service_kube_url_awx }}/api/v2/credentials/"
|
|
|
|
|
method: POST
|
|
|
|
|
user: "{{ awx_rest_api_access_user }}"
|
|
|
|
|
password: "{{ awx_rest_api_access_pw }}"
|
|
|
|
|
@ -245,7 +245,7 @@
|
|
|
|
|
credential_type_name: "Vault"
|
|
|
|
|
vault_password: "{{ ansible_vault_password }}"
|
|
|
|
|
uri:
|
|
|
|
|
url: "https://{{ shared_service_kube_awx_hostname }}/api/v2/credentials/"
|
|
|
|
|
url: "{{ shared_service_kube_url_awx }}/api/v2/credentials/"
|
|
|
|
|
method: POST
|
|
|
|
|
user: "{{ awx_rest_api_access_user }}"
|
|
|
|
|
password: "{{ awx_rest_api_access_pw }}"
|
|
|
|
|
@ -312,7 +312,7 @@
|
|
|
|
|
username: "{{ harbor_username }}"
|
|
|
|
|
password: "{{ harbor_token }}"
|
|
|
|
|
uri:
|
|
|
|
|
url: "https://{{ shared_service_kube_awx_hostname }}/api/v2/credentials/"
|
|
|
|
|
url: "{{ shared_service_kube_url_awx }}/api/v2/credentials/"
|
|
|
|
|
method: POST
|
|
|
|
|
user: "{{ awx_rest_api_access_user }}"
|
|
|
|
|
password: "{{ awx_rest_api_access_pw }}"
|
|
|
|
|
@ -369,7 +369,7 @@
|
|
|
|
|
credential: "{{ awx_credential_harbor_id }}"
|
|
|
|
|
pull: "always"
|
|
|
|
|
uri:
|
|
|
|
|
url: "https://{{ shared_service_kube_awx_hostname }}/api/v2/execution_environments/"
|
|
|
|
|
url: "{{ shared_service_kube_url_awx }}/api/v2/execution_environments/"
|
|
|
|
|
method: POST
|
|
|
|
|
user: "{{ awx_rest_api_access_user }}"
|
|
|
|
|
password: "{{ awx_rest_api_access_pw }}"
|
|
|
|
|
@ -423,7 +423,7 @@
|
|
|
|
|
name: "localhost"
|
|
|
|
|
description: "localhost"
|
|
|
|
|
uri:
|
|
|
|
|
url: "https://{{ shared_service_kube_awx_hostname }}/api/v2/inventories/"
|
|
|
|
|
url: "{{ shared_service_kube_url_awx }}/api/v2/inventories/"
|
|
|
|
|
method: POST
|
|
|
|
|
user: "{{ awx_rest_api_access_user }}"
|
|
|
|
|
password: "{{ awx_rest_api_access_pw }}"
|
|
|
|
|
@ -489,7 +489,7 @@
|
|
|
|
|
default_environment_id: "{{ awx_ee_hetzner_ansible_id }}"
|
|
|
|
|
credential_id: '{{ awx_credential_stagedspecific_gitea_id }}'
|
|
|
|
|
uri:
|
|
|
|
|
url: "https://{{ shared_service_kube_awx_hostname }}/api/v2/projects/"
|
|
|
|
|
url: "{{ shared_service_kube_url_awx }}/api/v2/projects/"
|
|
|
|
|
method: POST
|
|
|
|
|
user: "{{ awx_rest_api_access_user }}"
|
|
|
|
|
password: "{{ awx_rest_api_access_pw }}"
|
|
|
|
|
|