Add state to shares definition #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It is necessary to tidy up things when a share is not needed anymore.
When using
state: absentonlypathneed to be required because it is needed to create the name for the systemd unit.An other solution would be to just delete all
.mountand.automountunits in/etc/systemd/system, which are not managed by Ansible.