Skip to content

Commit

Permalink
removed extra conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
adworjan committed Jul 16, 2024
1 parent 7c2ef90 commit b761dce
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .ansible-sign/sha256sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ ed928348412bad55c327b054105ee7af083a4fc8083e7babf1fb3be937314dbe Web Verificati
d77935d759fad5b7d5d494471bd820ffbd510608876b4be19681ac3fc781ca3c roles/deploy_new_release/tasks/main.yml
f68298b4059cafeaa2de75321f2e60e019fc27e4c0d13ec4ed8f750186b19754 roles/new_release/tasks/main.yml
37e5e60578c73d664e2f537a70cd7db53ad4194a9bffed9f9d3b2e570e2b3d12 roles/verification_collection/tasks/main.yml
fcd48941a0b868689293ef158a41737ba98be30a22fb4e2ad768508867c48867 roles/verification_collection/tasks/rhel_verification.yml
17ceaf81f39be79897817b7f4fe3ee09c7ce143e8627fc3ffd92c645dec15d54 roles/verification_collection/tasks/windows_verification.yml
926aadfb77327147dbb372cfb37cfb51b1ac4e1c4e20efad9971ccf13f72b939 roles/verification_collection/tasks/rhel_verification.yml
b34aab9a539ab32e796362544cc86b83887bcc5db3327a153d0dc1848bf23890 roles/verification_collection/tasks/windows_verification.yml
8322884d79e1151e312fc788d1f955d35f6d3f1094ee4255a1a83391367c34db roles/webservers_collection/handlers/main.yml
d29f80f3931d67efbc6d8ef06f855302b88af79b67060c18b58e279d5139cb65 roles/webservers_collection/tasks/main.yml
5ce4f983d754c24b51f8764d451d3923c731cecdbbc7aed80c2c240b19c50d31 roles/webservers_collection/tasks/rhel_apache_collections.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/bJvyFHKKJdaZDOLTiIiIXrUDNEFAmYz0GcACgkQTiIiIXrU
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GqBWf8bA4DlzCO2r3bRX6JJ6dYG1PMs+tAcJe8TZ1UpjL/6l
MbHNKoxH
=0oRc
-----END PGP SIGNATURE-----
2 changes: 0 additions & 2 deletions roles/verification_collection/tasks/rhel_verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
name: httpd
state: started
enabled: true
when: os is match("rhel.*") or os == "Red Hat BYOL Linux"

- name: Check that you can connect to the index page and that the hostname is in the contents
ansible.builtin.uri:
Expand All @@ -13,4 +12,3 @@
return_content: true
register: this
failed_when: inventory_hostname not in this.content
when: os is match("rhel.*") or os == "Red Hat BYOL Linux"
2 changes: 0 additions & 2 deletions roles/verification_collection/tasks/windows_verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
ansible.windows.win_service:
name: W3Svc
state: started
when: os is match("windows.*") or os is match("2016.*") or os == "Windows"

- name: Check that you can connect to the index page and that the hostname is in the contents
ansible.windows.win_uri:
url: http://{{ ansible_host }}/index.html
validate_certs: false
return_content: true
register: this
when: os is match("windows.*") or os is match("2016.*") or os == "Windows"

0 comments on commit b761dce

Please sign in to comment.