I'm trying to run a playbook using this command
ansible-playbook lamp.yml
I get this:
PLAY [host1] *******************************************************************
TASK [Gathering Facts] *********************************************************
ok: [host1]
TASK [Add ppa Repository] ******************************************************
fatal: [host1]: FAILED! => {"changed": false, "module_stderr": "Shared connection to host1 closed.\r\n", "module_stdout": "sudo: a password is required\r\n", "msg": "MODULE FAILURE", "rc": 1}
[WARNING]: Could not create retry file '/etc/ansible/lamp.retry'.
[Errno 13] Permission denied: u'/etc/ansible/lamp.retry'