-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

> Can anyone confirm this bug or am I missing something?

Ok, the problem seems to be that ansible probably runs status on the
particular service before enabling it (to avoid unnecessary systemctl
enable commands?).

systemctl output for the *not* enabled service looks like this:

systemctl status [email protected]
��[email protected] - Anonymizing overlay network for TCP
   Loaded: loaded (/lib/systemd/system/[email protected]; enabled)
   Active: inactive (dead)


So once a particular multi-instance unit file has been enabled at
least once, systemctl will always return enabled - no matter what
instance we ask for.  So now I'm not sure whether this is the way how
systemctl is supposed to behave or if that is an upstream bug.

I'll ask on systemd-devel..
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJVHxhAAAoJEFv7XvVCELh0RBAQALkBr5nE8IayWr02ERwUfZbz
SiG4fJLCn//Hsj/ZOEv4FUKaZi64bWKAYZ6f1XT2F6dRwRIhqELI1g45Y5nTizKY
kEHAiEcvfcHtoRqdbUrBoaP7oTrlh/Sb+bku1/L/ZPypfRAwHddPYFm0lrsv2uoV
GHyCnCj+ByuKk7Qj4VpBF1oIpDzsE27Arsn/V3qpeh+26kH78K/qi72sjwjWL1Sw
jD825gmWl0mELyzuUfI7SPUPbxXRvP0AnHP6sX3RZ5axjf0K4im6XHendH3EYT9/
RzxRRrgs6mFcpyGYkR5IMaWBt6N+t6ZL1NI/r3rniEO/B0SjMCXxDEj7YrZHBfOo
diYwoveHg06NBCTWMO2cZvrHuN0uZLIXegMIQ2xY4qszNWuCkwbeGx8ePH3Gp1v1
AZ47dDZND5TysXLORYetY7Afzc1MsePghgCCrgUdHxIbTeGbM0SIJBL6Q+SOxXat
BSRWpylQ+bFNCRqE/o/u3JxvJQy390pNBMOTS18GyIpXpgtxZogZAWBa/PkLKg3t
GdsaDV64mUCsY2EQbeZ0CQHDEGx/l/QK4epR/iCsqUEH1waiwTDjnxhBxg59O0kt
lA/2hjkKyV/4alQ4k2LlH17jNOGAv7A2nLdymBzem9/wv/WDkmcQ/rLGPljXR+D3
6BIclvh3yFuP8NLru1tK
=gi3O
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/551F1840.8040300%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to