try to make the playbook not bomb
This commit is contained in:
parent
e06d960e83
commit
b5f53833a9
1 changed files with 15 additions and 2 deletions
|
@ -69,11 +69,10 @@
|
||||||
- mirrorlist_proxy
|
- mirrorlist_proxy
|
||||||
|
|
||||||
- name: Ensure log file for content exists
|
- name: Ensure log file for content exists
|
||||||
file: dest="{{item}}" owner=mirrormanager group=mirrormanager mode=0755 state=file
|
file: dest="{{item}}" owner=mirrormanager group=mirrormanager mode=0755 state=touch
|
||||||
with_items:
|
with_items:
|
||||||
- /var/log/mirrormanager/mirrorlist1.service.log
|
- /var/log/mirrormanager/mirrorlist1.service.log
|
||||||
- /var/log/mirrormanager/mirrorlist2.service.log
|
- /var/log/mirrormanager/mirrorlist2.service.log
|
||||||
- /var/log/mirrormanager/mirrorlist3.service.log
|
|
||||||
tags:
|
tags:
|
||||||
- mirrorlist_proxy
|
- mirrorlist_proxy
|
||||||
|
|
||||||
|
@ -82,6 +81,20 @@
|
||||||
with_items:
|
with_items:
|
||||||
- /var/log/mirrormanager/mirrorlist1.service.log
|
- /var/log/mirrormanager/mirrorlist1.service.log
|
||||||
- /var/log/mirrormanager/mirrorlist2.service.log
|
- /var/log/mirrormanager/mirrorlist2.service.log
|
||||||
|
tags:
|
||||||
|
- mirrorlist_proxy
|
||||||
|
|
||||||
|
- name: Ensure log file for content exists
|
||||||
|
file: dest="{{item}}" owner=mirrormanager group=mirrormanager mode=0755 state=touch
|
||||||
|
with_items:
|
||||||
|
- /var/log/mirrormanager/mirrorlist3.service.log
|
||||||
|
when: datacenter == 'phx2'
|
||||||
|
tags:
|
||||||
|
- mirrorlist_proxy
|
||||||
|
|
||||||
|
- name: for the rust based mirrorlist server chown log files
|
||||||
|
file: dest="{{item}}" owner=mirrormanager group=mirrormanager
|
||||||
|
with_items:
|
||||||
- /var/log/mirrormanager/mirrorlist3.service.log
|
- /var/log/mirrormanager/mirrorlist3.service.log
|
||||||
tags:
|
tags:
|
||||||
- mirrorlist_proxy
|
- mirrorlist_proxy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue