User가 ansadmin이고 ansible-playbook실행시
Task실행시
fatal: [172.31.xx.xx]: FAILED! => {“msg”: “Missing sudo password”}
Solution
- Add ansbdmin user to sudousers file on managed host
Entry in /etc/sudoers files
ansadmin ALL=(ALL) NOPASSWD: ALL
'나는 노동자 > 이런저런 Tip' 카테고리의 다른 글
| Jenkins failed job 무시하기 (0) | 2019.12.18 |
|---|---|
| absible playbook errors skip (0) | 2019.12.17 |
| ansible become (0) | 2019.12.17 |
| ansible localhost (0) | 2019.12.17 |
| jenkins tomcat 관련 이런저런것들 (0) | 2019.12.16 |