Skip to content

Commit

Permalink
Fix validate certs for all roles
Browse files Browse the repository at this point in the history
  • Loading branch information
Tompage1994 committed Mar 10, 2021
1 parent aff13ba commit dd7a0e0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions changelogs/fragments/validate-certs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
bugfixes:
- Fixed an issue where certain roles were not taking in tower_validate_certs
...
2 changes: 1 addition & 1 deletion roles/hosts/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
tower_password: "{{ tower_password | default(omit, true) }}"
tower_oauthtoken: "{{ tower_oauthtoken | default(omit, true) }}"
tower_config_file: "{{ tower_config_file | default(omit, true) }}"
validate_certs: "{{ tower_verify_ssl | default(true) }}"
validate_certs: "{{ tower_validate_certs | default('true') }}"
loop: "{{ tower_hosts }}"
loop_control:
loop_var: tower_hosts_item
Expand Down
2 changes: 1 addition & 1 deletion roles/inventories/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
tower_username: "{{ tower_username | default(omit, true) }}"
tower_password: "{{ tower_password | default(omit, true) }}"
tower_oauthtoken: "{{ tower_oauthtoken | default(omit, true) }}"
validate_certs: "{{ tower_verify_ssl | default('False') }}"
validate_certs: "{{ tower_validate_certs | default('true') }}"
loop: "{{ tower_inventories }}"
loop_control:
loop_var: inventory
Expand Down
2 changes: 1 addition & 1 deletion roles/notification_templates/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
tower_password: "{{ tower_password | default(omit, true) }}"
tower_oauthtoken: "{{ tower_oauthtoken | default(omit, true) }}"
tower_config_file: "{{ tower_config_file | default(omit, true) }}"
validate_certs: "{{ validate_certs | default(tower_verify_ssl | default('true')) }}"
validate_certs: "{{ tower_validate_certs | default('true') }}"
loop: "{{ tower_notifications }}"
loop_control:
loop_var: tower_notifications_item
Expand Down
2 changes: 1 addition & 1 deletion roles/users/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
tower_username: "{{ tower_username | default(omit, true) }}"
tower_password: "{{ tower_password | default(omit, true) }}"
tower_oauthtoken: "{{ tower_oauthtoken | default(omit, true) }}"
validate_certs: "{{ tower_verify_ssl | default(true) }}"
validate_certs: "{{ tower_validate_certs | default('true') }}"
tower_config_file: "{{ tower_config_file | default(omit, true) }}"
loop: "{{ tower_user_accounts }}"
loop_control:
Expand Down

0 comments on commit dd7a0e0

Please sign in to comment.