Skip to content

Commit

Permalink
Update 35_controller_pre_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
IPvSean committed Dec 6, 2023
1 parent cb2aea6 commit cd4f618
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roles/control_node_always/tasks/35_controller_pre_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

- name: set password
block:
- name: change admin password
- name: change admin password R3dh4t1!
awx.awx.user:
username: "admin"
password: "{{ admin_password }}"
Expand All @@ -40,6 +40,8 @@
controller_password: "R3dh4t1!"
controller_host: "https://localhost"
validate_certs: false
register: set_password
until: set_password is not failed
rescue:
- name: change admin password
awx.awx.user:
Expand All @@ -51,3 +53,5 @@
controller_password: "{{ admin_password }}"
controller_host: "https://localhost"
validate_certs: false
register: set_password
until: set_password is not failed

0 comments on commit cd4f618

Please sign in to comment.