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
I must execute docker_ubuntu role with become: yes because it requires administrative privileges to do the tasks. The final task in docker_ubuntu performs a setup action, which alters variables. In my case, tasks in roles following the docker_ubuntu role needed to use the HOME environment variable, but the call to setup caused my environment to be set to root's environment (and therefore, HOME to be set to /root).
Is there a way to avoid calling setup, or at the very least, can it please be much more tightly restricted (see the available options for setup)? I don't understand to what this docker.io relates. It appears to be a deprecated name for the Docker package. If it is, could this please be removed entirely?
The text was updated successfully, but these errors were encountered:
gotgenes
changed the title
Use of setup breaks Ansible environment
docker_ubuntu unexpectedly alters Ansible environment
Jun 10, 2016
I must execute docker_ubuntu role with
become: yes
because it requires administrative privileges to do the tasks. The final task in docker_ubuntu performs asetup
action, which alters variables. In my case, tasks in roles following the docker_ubuntu role needed to use theHOME
environment variable, but the call tosetup
caused my environment to be set toroot
's environment (and therefore,HOME
to be set to/root
).Is there a way to avoid calling
setup
, or at the very least, can it please be much more tightly restricted (see the available options forsetup
)? I don't understand to what thisdocker.io
relates. It appears to be a deprecated name for the Docker package. If it is, could this please be removed entirely?The text was updated successfully, but these errors were encountered: