chg : docker tasks - add vars for rsyslog or logrotate
This commit is contained in:
parent
973a86d292
commit
2d1b0146d4
@ -48,6 +48,7 @@
|
|||||||
dest: /etc/rsyslog.d/10-docker.conf
|
dest: /etc/rsyslog.d/10-docker.conf
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
force: yes
|
force: yes
|
||||||
|
when: rsyslog_docker is defined
|
||||||
|
|
||||||
- name: copy logrotate config
|
- name: copy logrotate config
|
||||||
copy:
|
copy:
|
||||||
@ -55,3 +56,4 @@
|
|||||||
dest: /etc/logrotate.d/docker
|
dest: /etc/logrotate.d/docker
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
force: yes
|
force: yes
|
||||||
|
when: logrotate_docker is defined
|
Loading…
x
Reference in New Issue
Block a user