Skip to content

Commit

Permalink
use special vars for inventory and template id
Browse files Browse the repository at this point in the history
  • Loading branch information
adworjan committed Dec 14, 2023
1 parent 5bf6ed8 commit 6cefa9b
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 @@ -49,7 +49,7 @@ e1520179192241bef5235f750522f0b42fdb3b4b90232240e1d764acad78932b roles/shadowma
fcf1914880845509fba9c53d516850b1d37269f5adc1fff107c8d63d5d651e9a roles/shadowman_prometheus/tasks/main.yml
621bf1db8d4561ebe446e2f3ac81a7d8151bb6472dc368bc497f320ba696cda8 roles/shadowman_selinux/defaults/main.yml
aec3e4b6540f85748848be6a7ad1ad72592cea705e065bcde6456a0db2fe4749 roles/shadowman_selinux/tasks/main.yml
4e29fc5461425755519deb4b5f0e670802f794586c0c6c4286fb3dd7db0c2b83 roles/shadowman_sudoers/tasks/main.yml
936e889497dab45b3f055b7be3482c6a9cb086ffb9b08f238691ee7437101c0e roles/shadowman_sudoers/tasks/main.yml
e0b34ec30f4f5ffb57e7d01979bb9f5dd90b9c9d2d5fa4303dfa5ee469a1ac66 roles/shadowman_systemd_create/tasks/main.yml
beeeff7d48b8f025b79fb6a572dcad8fd5ab633e100c9384b26e41b1e9e27c90 roles/shadowman_systemd_create/templates/systemd.path.j2
b741ef34da2d58f4ef72f469d1670b71e400cad14112dd8b6a3c02aad552b9f8 roles/shadowman_systemd_create/templates/systemd.service.j2
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/bJvyFHKKJdaZDOLTiIiIXrUDNEFAmVuBKgACgkQTiIiIXrU
DNEJXQv/X8r0Pub4BZBSsYrTwoKygwlm+obQHBYBCsZlNiZ+qjkdrZhuyHwrb51M
xxRtns4aa31UikDyy2qUqL3u6AC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changes: 2 additions & 2 deletions roles/shadowman_sudoers/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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 @@ -33,7 +33,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=722&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 6cefa9b

Please sign in to comment.