Created
December 14, 2016 10:18
-
-
Save olbpetersson/cd57e7b342277fd6955bc3e5cb535a9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################### playbook ##################### | |
--- | |
- hosts: a_node | |
become: true | |
become_user: example_user | |
tasks: | |
- command: touch /tmp/removeMe.file | |
################### output ####################### | |
PLAY [a_node] ***********F************************************************** | |
TASK [setup] ******************************************************************* | |
fatal: [a_target]: FAILED! => {"failed": true, "msg": "Failed to set permissions on the temporary files Ansible needs to create when becoming an unprivileged user. For information on working around this, see https://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user"} | |
NO MORE HOSTS LEFT ************************************************************* | |
to retry, use: --limit @touchfile.retry | |
PLAY RECAP ********************************************************************* | |
a_target : ok=0 changed=0 unreachable=0 failed=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment