Commit Graph

5 Commits (master)

Author SHA1 Message Date
Dustin 921cf653b8 remount: Do not remount SquashFS volumes
SquashFS volumes, naturally, cannot be remounted read-write.
2022-08-12 13:40:06 -05:00
Dustin 870baa3fcf 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
```
2022-08-03 20:57:05 -05:00
Dustin 14332a4c3e remount: Clear facts
Cached facts interfere with the detection of which filesystems need to
be remounted.  We need to clear them all and gather again before
beginning to ensure that the correct mounts are considered.
2022-07-18 18:05:03 -05:00
Dustin 98401b3c1e remount: Only remount if needed
Skip remounting filesystems that are already in the specified state.
2021-10-30 16:41:58 -05:00
Dustin ffc8972abc remount: PB to remount read-only filesystems
Many hosts have a read-only root filesystem, as well as some other
read-only paths that need to be remounted before configuration changes
can be made. The `remount.yml` playbook can be used to remount select
filesystems as either read-write or read-only (the default). It is
intended to be used before and after other playbooks, to ensure the
filesystems are in the correct state.
2018-04-15 13:45:38 -05:00