mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3076478892
In general the existence of a runtime-enabled unit should not prevent a persistent enable being set. Specifically this handles the case where there is an entry in fstab for a mount point (which is retained to allow manual mount/umount to take place) and yet a systemd mount unit needs to be deployed to handle other unit options. There will be a generator-created unit file which shows the unit as enabled-runtime and the persistent enable of the mount unit will fail. Additionally improve the comments and modify the code to use rsplit() and the "in" notation since "systemctl is-enabled" is documented to return specific values in the cases of interest. --------- Signed-off-by: David Greaves <david@dgreaves.com> Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> |
2 months ago | |
---|---|---|
.. | ||
_vendor | 8 months ago | |
cli | 2 months ago | |
collections | 8 months ago | |
compat | 8 months ago | |
config | 2 months ago | |
errors | 8 months ago | |
executor | 2 months ago | |
galaxy | 2 months ago | |
inventory | 8 months ago | |
module_utils | 2 months ago | |
modules | 2 months ago | |
parsing | 3 months ago | |
playbook | 2 months ago | |
plugins | 2 months ago | |
template | 3 months ago | |
utils | 2 months ago | |
vars | 2 months ago | |
__init__.py | 8 months ago | |
__main__.py | 8 months ago | |
constants.py | 2 months ago | |
context.py | 8 months ago | |
keyword_desc.yml | 7 months ago | |
release.py | 2 months ago |