Move ansible log into directory
file: state=touch returns changed every time. Instead, put the log files into a /var/log/ansible directory. Change-Id: I086d803f0e532b9da41cb01d4e7d2ed66245dfc1
This commit is contained in:
@@ -24,13 +24,13 @@
|
||||
group: admin
|
||||
mode: 0770
|
||||
|
||||
- name: Ensure ansible log file is writable
|
||||
- name: Ensure ansible log dir is writable
|
||||
file:
|
||||
path: /var/log/ansible.log
|
||||
state: touch
|
||||
path: /var/log/ansible
|
||||
state: directory
|
||||
owner: root
|
||||
group: admin
|
||||
mode: 0660
|
||||
mode: 0775
|
||||
|
||||
- name: Copy ansible.cfg in to place
|
||||
copy:
|
||||
|
||||
Reference in New Issue
Block a user