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.
ansible/test/integration/targets/systemd
Sam Doran f7ac5ea8d6
[stable-2.9] systemd - do not overwrite unit name when searching (#72985) (#73014)
* systemd - do not overwrite unit name when searching

PR #72702 introduced a bug that changed the unit name when splitting it up for the purpose
of searching for the unit. This only happens on unit file templates on systems that have a 5.8
or newer kernel and a version of systemd that does not contain a bugfix that causes systmed
to fail to parse dbus.

* Use facts rather than a manual probe to determine if systmed is present

* Remove unnecessary block

* Use vars files instead of set_fact

* Add tests for using a templated unit file

* Update changelog fragment

* Use template to get correct path to sleep binary

(cherry picked from commit 48803604cd)
5 years ago
..
handlers [stable-2.9] systemd - do not overwrite unit name when searching (#72985) (#73014) 5 years ago
meta
tasks [stable-2.9] systemd - do not overwrite unit name when searching (#72985) (#73014) 5 years ago
templates [stable-2.9] systemd - do not overwrite unit name when searching (#72985) (#73014) 5 years ago
vars [stable-2.9] systemd - do not overwrite unit name when searching (#72985) (#73014) 5 years ago
aliases