Skip to content

Commit

Permalink
used special var for inv and JT ids
Browse files Browse the repository at this point in the history
  • Loading branch information
adworjan committed Oct 13, 2023
1 parent 567e20a commit a4100f0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .ansible-sign/sha256sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ de7266d58ba79fceff662a40ff30475f3ae5ec8a5e94c5009aac634990ce3f7a roles/shadowma
6d24ce90647c3edeb111b451e163e38bf242b5cf08ffa696acc8ceac4417b813 roles/shadowman_mem/tasks/vmware_vm_decrease.yml
0f7ddd55cbdc142c21d2dc6da5eb5623f51f9a2f8dfbee34cb8c29fc293f15ca roles/shadowman_mem/tasks/vmware_vm_increase.yml
a0261f3590d3ad7a985dc7c7e4b4914258b52b6108f6cb5819421dc310a82bca roles/shadowman_mem/tasks/vmware_vm_restore.yml
d3da3d1a11c5c0f1f1d556c321475cabb7bcffd1e40cf7af9efb6491866b8e0e roles/shadowman_passwd/tasks/main.yml
4afb92f2de31d5ed34abf20d5406c522853ebab4c8a76a0944607eee28898281 roles/shadowman_passwd/tasks/main.yml
e1520179192241bef5235f750522f0b42fdb3b4b90232240e1d764acad78932b roles/shadowman_prometheus/defaults/main.yml
fcf1914880845509fba9c53d516850b1d37269f5adc1fff107c8d63d5d651e9a roles/shadowman_prometheus/tasks/main.yml
621bf1db8d4561ebe446e2f3ac81a7d8151bb6472dc368bc497f320ba696cda8 roles/shadowman_selinux/defaults/main.yml
Expand Down
22 changes: 11 additions & 11 deletions .ansible-sign/sha256sum.txt.sig
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
-----BEGIN PGP SIGNATURE-----

iQGzBAABCAAdFiEE/bJvyFHKKJdaZDOLTiIiIXrUDNEFAmUK9vcACgkQTiIiIXrU
DNHxsgwAvx3YHTGsZfYefp+Z3TXau+ocsnIAqWhPtmilEL7VoR0AUb1GfH1a6PDX
IAxdxbMDNNdGXFQ0+JpBzPu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2 deletions roles/shadowman_passwd/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

- name: Get Host id
ansible.builtin.uri:
url: https://{{ lookup('env', 'TOWER_HOST') }}/api/v2/hosts/?name={{ inventory_hostname }}&inventory_id=53
url: https://{{ lookup('env', 'TOWER_HOST') }}/api/v2/hosts/?name={{ inventory_hostname }}&inventory_id={{ awx_inventory_id }}
user: "{{ lookup('env', 'TOWER_USERNAME') }}"
password: "{{ lookup('env', 'TOWER_PASSWORD') }}"
force_basic_auth: true
Expand All @@ -72,7 +72,7 @@

- name: Retrieve Job Summaries
ansible.builtin.uri:
url: https://{{ lookup('env', 'TOWER_HOST') }}/api/v2/hosts/{{ host_details.json.results[0].id }}/job_host_summaries/?job__job_template_id=581&created__regex={{ ansible_date_time.date }} # noqa yaml[line-length]
url: https://{{ lookup('env', 'TOWER_HOST') }}/api/v2/hosts/{{ host_details.json.results[0].id }}/job_host_summaries/?job__job_template_id={{ awx_job_template_id }}&created__regex={{ ansible_date_time.date }} # noqa yaml[line-length]
user: "{{ lookup('env', 'TOWER_USERNAME') }}"
password: "{{ lookup('env', 'TOWER_PASSWORD') }}"
force_basic_auth: true
Expand Down

0 comments on commit a4100f0

Please sign in to comment.