remount: Remount read/write by default
Setting the `remount_state` variable to `rw` by default will allow the `remount.yml` playbook to be "chained" with other playbooks, e.g.: ``` ansible-playbook -l kubelet remount.yml collectd.yml -b ```btop
parent
1214b507c5
commit
870baa3fcf
|
@ -6,7 +6,7 @@
|
||||||
- hosts: all
|
- hosts: all
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
vars:
|
vars:
|
||||||
remount_state: ro
|
remount_state: rw
|
||||||
remount_fs:
|
remount_fs:
|
||||||
- /
|
- /
|
||||||
- /usr
|
- /usr
|
||||||
|
@ -23,3 +23,5 @@
|
||||||
| list
|
| list
|
||||||
}}
|
}}
|
||||||
when: not item.options.startswith(remount_state)
|
when: not item.options.startswith(remount_state)
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
Loading…
Reference in New Issue