spamassasin: mount usr in rw before copy sa-update.sh
This commit is contained in:
parent
be3d3c97ef
commit
1f70b14896
|
@ -27,6 +27,22 @@
|
|||
tags:
|
||||
- spamassassin
|
||||
|
||||
- name: update ansible_mounts facts
|
||||
setup:
|
||||
filter: ansible_mounts
|
||||
tags:
|
||||
- spamassassin
|
||||
|
||||
- name: mount /usr in rw
|
||||
command: mount -o remount,rw /usr
|
||||
args:
|
||||
warn: no
|
||||
changed_when: false
|
||||
when: item.mount == '/usr' and item.options | match(".*ro.*")
|
||||
with_items: "{{ ansible_mounts }}"
|
||||
tags:
|
||||
- spamassassin
|
||||
|
||||
- name: copy sa-update.sh script
|
||||
copy:
|
||||
src: sa-update.sh
|
||||
|
|
Loading…
Reference in New Issue