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 | |
---|---|---|
.. | ||
__init__.py | 8 years ago | |
add_host.py | 8 months ago | |
apt.py | 2 months ago | |
apt_key.py | 8 months ago | |
apt_repository.py | 3 months ago | |
assemble.py | 8 months ago | |
assert.py | 6 months ago | |
async_status.py | 2 months ago | |
async_wrapper.py | 5 months ago | |
blockinfile.py | 2 months ago | |
command.py | 8 months ago | |
copy.py | 3 months ago | |
cron.py | 3 months ago | |
deb822_repository.py | 3 months ago | |
debconf.py | 3 months ago | |
debug.py | 8 months ago | |
dnf.py | 2 months ago | |
dnf5.py | 2 months ago | |
dpkg_selections.py | 8 months ago | |
expect.py | 5 months ago | |
fail.py | 8 months ago | |
fetch.py | 8 months ago | |
file.py | 8 months ago | |
find.py | 4 months ago | |
gather_facts.py | 8 months ago | |
get_url.py | 8 months ago | |
getent.py | 7 months ago | |
git.py | 3 months ago | |
group.py | 8 months ago | |
group_by.py | 8 months ago | |
hostname.py | 5 months ago | |
import_playbook.py | 6 months ago | |
import_role.py | 6 months ago | |
import_tasks.py | 6 months ago | |
include_role.py | 6 months ago | |
include_tasks.py | 6 months ago | |
include_vars.py | 8 months ago | |
iptables.py | 4 months ago | |
known_hosts.py | 6 months ago | |
lineinfile.py | 5 months ago | |
meta.py | 3 months ago | |
package.py | 2 months ago | |
package_facts.py | 8 months ago | |
pause.py | 8 months ago | |
ping.py | 8 months ago | |
pip.py | 5 months ago | |
raw.py | 8 months ago | |
reboot.py | 8 months ago | |
replace.py | 3 months ago | |
rpm_key.py | 8 months ago | |
script.py | 8 months ago | |
service.py | 7 months ago | |
service_facts.py | 7 months ago | |
set_fact.py | 8 months ago | |
set_stats.py | 8 months ago | |
setup.py | 8 months ago | |
shell.py | 8 months ago | |
slurp.py | 8 months ago | |
stat.py | 8 months ago | |
subversion.py | 5 months ago | |
systemd.py | 2 years ago | |
systemd_service.py | 2 months ago | |
sysvinit.py | 7 months ago | |
tempfile.py | 7 months ago | |
template.py | 7 months ago | |
unarchive.py | 2 months ago | |
uri.py | 4 months ago | |
user.py | 6 months ago | |
validate_argument_spec.py | 5 months ago | |
wait_for.py | 7 months ago | |
wait_for_connection.py | 8 months ago | |
yum_repository.py | 7 months ago |