fixes for ansible.cfg, inmem-test.yml; add ansible.posix to collection requirements.yml for task profiling

This commit is contained in:
Chris Hammer
2022-02-10 05:25:12 -05:00
parent 1f91d61022
commit 23baba9931
4 changed files with 40 additions and 2 deletions

View File

@ -26,6 +26,10 @@
become: no
vars_files:
- vars/defaults.yml
tasks:
- name: Run file test
block:
@ -52,6 +56,34 @@
- "msg : {{ r_check_file.msg }}"
# - name: Re-create files as needed
# uri:
# url : "{{ tower_api_host }}/api/v2/job_templates/22/launch/"
# method : POST
# status_code : 201
# force_basic_auth : yes
# user : "{{ tower_api_user }}"
# password : "{{ tower_api_pass }}"
# body_format : json
# body:
# trigger: me
- name: Re-create files as needed
uri:
url : "{{ tower_api_host }}/api/v2/job_templates/22/launch/"
method : POST
status_code : 201
force_basic_auth : yes
url_username : "{{ tower_api_user }}"
url_password : "{{ tower_api_pass }}"
body_format : json
return_content : no
validate_certs : no
body:
trigger: me
always:
- name: Job complete
debug: