"lineinfile" モジュール 使用時に Playbook が OSError: [Errno 13] Permission denied: '/var/lib/awx/projects/' を返す理由
Issue
Ansible Playbook
が以下のエラーを返す理由は何ですか?
Traceback (most recent call last):
File "/tmp/ansible_lineinfile_payload_acU60V/ansible_lineinfile_payload.zip/ansible/module_utils/basic.py", line 2371, in atomic_move
tmp_dest_fd, tmp_dest_name=tempfile.mkstemp(prefix=b'.ansible_tmp', dir=b_dest_dir, suffix=b_suffix)
File "/usr/lib64/python2.7/tempfile.py", line 304, in mkstemp
return _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib64/python2.7/tempfile.py", line 239, in _mkstemp_inner
fd=_os.open(file, flags, 0600)
OSError: [Errno 13] Permission denied: '/var/lib/awx/projects/'
Environment
- Ansible Automation Platform の全バージョン
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.