Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check that Ansible default temp directory is writable, warn user with a workaround otherwise #51

Open
ludovicc opened this issue Jan 15, 2019 · 1 comment

Comments

@ludovicc
Copy link
Contributor

Error found during the first execution of setup.sh

TASK [silpion.util : Disable requiretty in SUDO] ***********************************************************************************
 [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{
util_fact_ssh_pipelining }}

fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "/usr/bin/python: can't open file '/home/dp/.ansible/tmp/ansible-tmp-1547542853.66-137267324674683/AnsiballZ_lineinfile.py': [Errno 13] Permission denied\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 2}

Add a check ensuring that tmp dir is writable during the execution of remote commands, propose a workaround if that is not the case.

@ludovicc
Copy link
Contributor Author

Issue experienced by @DimitriPapadopoulos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant