d1dc867ef1
The mount role was using the systemd module to start / stop mounts however if a mount was restarted when it could have been reloaded the role could create a fair amount of chaos in a running environment. This change maps the mount states appropriately to the systemctl command options to ensure we're not needlessly restarting mounts should the unit files change. The `systemd_mount_states` has been added which will map the normal Ansible states to suitable systemd mount states and the mount state is being managed using the `systemctl` command instead of the ansible module. Change-Id: I5c7e5105e54d3ff9ad040f2a1d003d3dd12e4efb Signed-off-by: Kevin Carter <kevin.carter@rackspace.com> |
||
---|---|---|
.. | ||
main.yml |