variablize no_log because we can. also fixed the gitlab pat - there was an uknown issue with the other
This commit is contained in:
@ -53,7 +53,7 @@
|
||||
|
||||
|
||||
- name : "Test #2: Launch the `file_removal_test` job template"
|
||||
no_log : yes
|
||||
no_log : "{{ __no_log | default('yes') }}"
|
||||
uri :
|
||||
url : "{{ tower_file_remove_url }}"
|
||||
force_basic_auth : yes
|
||||
@ -68,7 +68,7 @@
|
||||
|
||||
|
||||
- name : Return job data to originating source
|
||||
no_log : yes
|
||||
no_log : "{{ __no_log | default('yes') }}"
|
||||
uri :
|
||||
url : "{{ gitlab_commit_url }}"
|
||||
headers :
|
||||
@ -112,7 +112,7 @@
|
||||
|
||||
|
||||
- name : "Create missing file on {{ inventory_hostname }}"
|
||||
#no_log : yes
|
||||
no_log : "{{ __no_log | default('yes') }}"
|
||||
uri :
|
||||
url : "{{ tower_file_creation_url }}"
|
||||
force_basic_auth : yes
|
||||
@ -127,7 +127,7 @@
|
||||
|
||||
|
||||
- name : Return job data to originating source
|
||||
no_log : no
|
||||
no_log : "{{ __no_log | default('yes') }}"
|
||||
uri :
|
||||
url : "{{ gitlab_commit_url }}"
|
||||
headers :
|
||||
|
@ -2,6 +2,9 @@
|
||||
check_file: /tmp/hello-ansible.txt
|
||||
|
||||
|
||||
__no_log: yes
|
||||
|
||||
|
||||
tower_url : 'https://tower2.thezengarden.net'
|
||||
tower_user : admin
|
||||
tower_password : redhat
|
||||
@ -15,7 +18,7 @@ tower_file_creation_url : "{{ tower_url }}/api/v2/job_templates/\
|
||||
|
||||
gitlab_url : 'https://git.thezengarden.net'
|
||||
gitlab_proj_id : 119
|
||||
gitlab_pat : "glpat-PG-6dGDyTnt9guvxyhzS"
|
||||
gitlab_pat : "glpat-Cg3ibBo6G39d_QZP9cHe"
|
||||
gitlab_commit_url : "{{ gitlab_url }}/api/v4/projects/{{ gitlab_proj_id }}\
|
||||
/repository/commits"
|
||||
|
||||
|
Reference in New Issue
Block a user