Merge "Move ansible log into directory"

This commit is contained in:
Zuul 2018-08-17 19:58:43 +00:00 committed by Gerrit Code Review
commit 470f9f8f07
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
[defaults]
inventory=/opt/system-config/inventory/openstack.yaml,/opt/system-config/inventory/groups.yaml,/etc/ansible/hosts/emergency
library=/usr/share/ansible
log_path=/var/log/ansible.log
log_path=/var/log/ansible/ansible.log
callback_plugins=/etc/ansible/callback_plugins
inventory_plugins=/etc/ansible/inventory_plugins
roles_path=/opt/system-config/roles:/etc/ansible/roles

View File

@ -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: