You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During install; when using the official branding – by setting awx_official=true – there will be a task making use of the module synchronize. When also running the playbook against a remote host; this taks will fail, where a password is asked to authenticate against the remote machine. The copy should – however – take place on the local machine only.
Change the awx/installer/inventory file:
set awx_official=true
change localhost ansible_connection=local into a remote host; using the correct settings for user and privilege elevetion method. awx.local ansible_user=ubuntu ansible_become=yes ansible_become_method=sudo
to create a temp host, one can use this Vagrantfile; place it in a folder and run vagrant up. One needs to have vagrant and Virtualbox installed. Change your hosts file to contain the ip pointing to awx.local.
Go to the installer directory and run ansible-playbook -i inventory install.yml
Expected Results:
The playbook to finish installing AWX, without asking me for a password during the play.
Actual Results:
During task Copy logos for inclusion in sdist, a password is requested to authenticate the local user against the remote machine.
TASK [image_build : Copy logos for inclusion in sdist] *************************
local-user@awx.local's password:
Additional Information:
This thread on StackOverflow also speaks about the synchronize module not playing nice with delegate_to: localhost. The clue seems to be that this will only work when the inventory contains localhost and not a remote host.
The text was updated successfully, but these errors were encountered:
Summary
During install; when using the official branding – by setting awx_official=true – there will be a task making use of the module synchronize. When also running the playbook against a remote host; this taks will fail, where a password is asked to authenticate against the remote machine. The copy should – however – take place on the local machine only.
Environment
Steps To Reproduce:
set
awx_official=true
change
localhost ansible_connection=local
into a remote host; using the correct settings for user and privilege elevetion method.awx.local ansible_user=ubuntu ansible_become=yes ansible_become_method=sudo
to create a temp host, one can use this Vagrantfile; place it in a folder and run
vagrant up
. One needs to have vagrant and Virtualbox installed. Change yourhosts
file to contain the ip pointing toawx.local
.ansible-playbook -i inventory install.yml
Expected Results:
The playbook to finish installing AWX, without asking me for a password during the play.
Actual Results:
During task
Copy logos for inclusion in sdist
, a password is requested to authenticate the local user against the remote machine.Additional Information:
This thread on StackOverflow also speaks about the synchronize module not playing nice with
delegate_to: localhost
. The clue seems to be that this will only work when the inventory contains localhost and not a remote host.The text was updated successfully, but these errors were encountered: