Add state to shares definition #1

Open
opened 2024-08-22 20:27:30 +00:00 by lingling · 0 comments
Owner

It is necessary to tidy up things when a share is not needed anymore.

When using state: absent only path need to be required because it is needed to create the name for the systemd unit.

An other solution would be to just delete all .mount and .automount units in /etc/systemd/system, which are not managed by Ansible.

It is necessary to tidy up things when a share is not needed anymore. When using `state: absent` only `path` need to be required because it is needed to create the name for the systemd unit. An other solution would be to just delete all `.mount` and `.automount` units in `/etc/systemd/system`, which are not managed by Ansible.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ansible-roles/sambaclient#1
No description provided.