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
Dustin 2022-08-03 20:54:45 -05:00
parent 1214b507c5
commit 870baa3fcf
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,7 @@
- hosts: all
gather_facts: true
vars:
remount_state: ro
remount_state: rw
remount_fs:
- /
- /usr
@ -23,3 +23,5 @@
| list
}}
when: not item.options.startswith(remount_state)
tags:
- always