ansibleを実行したら
FAILED! => {"changed": false, "failed": true, "module_stderr": "", "module_stdout": "sudo: /etc/sudoers.d/00_wheel is mode 0644, should be 0440\r\n\r\nsampleuser is not in the sudoers file. This incident will be reported.\r\n", "msg": "MODULE FAILURE", "parsed": false}
とエラーが出た。
sshでサーバーに入ってsudoコマンド実行しても
sudo: /etc/sudoers.d/00_wheel is mode 0644, should be 0440
とでた。
解決方法
chmod 0440 /etc/sudoers.d/00_wheel
いままで出なかったのに急にでるようになったのはなぜなのか、、、