summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/systemd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add systemd version and features fact (#83083)Thomas Sjögren2024-04-192-0/+12
| | | | Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
* systemd_service: handle failure when mask operation fails (#83079)Abhijeet Kasurde2024-04-184-0/+40
| | | | | | | | * Handle the mask operation failure instead of just marking state changed. Fixes: #81649 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Extend systemctl is-enabled check to handle "enabled-runtime" too. (#77754)David Greaves2024-04-104-0/+65
| | | | | | | | | | | | | | | | | | | | 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>
* Add missing newlines to YAML files (#80031)Matt Clay2023-02-182-2/+2
|
* ansible-test - Remove AIX provisioning support. (#76747)Matt Clay2022-01-121-1/+0
| | | | | * ansible-test - Remove AIX provisioning support. * Remove `skip/aix` integration test aliases. * Remove build for AIX binary module.
* check for indirect service in systemd (#76462)James Livulpi2021-12-237-0/+67
| | | | | | | | | | | * check if service is indirect status / add integration test * Update changelogs/fragments/76453-indirect-systemd-status.yml Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> * simplify indirect check / remove integration test restriction on rhel9 * add dummy indirect service for integration tests
* systemd - do not overwrite unit name when searching (#72985)Sam Doooran2020-12-176-64/+135
| | | | | | | | | | | | | | | | | | | | * 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 * Remov 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
* Remove incidental_zabbix_host (#72142)Matt Martz2020-10-081-3/+37
| | | | | | | | | | | | | | | | | | | | | | | * Add explicit apt tests for fnmatch and update_cache * Add explicit apt_key tests for fetching key directly from url * ci_complete ci_coverage * Remove repo only by repo * ci_complete ci_coverage * Add apt cache update after apt_repository to show that the cache doesn't update * ci_complete ci_coverage * Add systemd tests for enabling and disabling a service * ci_complete ci_coverage * Remove incidental_zabbix_host * ci_complete ci_coverage
* systemd - supports new systemctl output message for chroot (#71197)Lorenzo Castelli2020-08-171-0/+7
| | | | | The message generated by systemctl has been updated in https://github.com/systemd/systemd/commit/9321e23c40f3dc6bd785105ce882cbad6447a1c6, which requires a corresponding change in the systemd module. In addition, this fixes the module when the SYSTEMD_OFFLINE environment variable is set.
* systemd: should fail in check_mode when service not found on host (#68136)Andrew Klychkov2020-06-022-0/+26
| | | * systemd: should fail in check_mode when service not found on host
* Testing: Add support for AIX platform (#65802)Yanis Guenane2020-01-301-0/+1
|
* Update Shippable integration test groups. (#43118)Matt Clay2018-07-241-1/+1
| | | | | | | * Update Shippable integration test groups. * Update integration test group aliases. * Rebalance AWS and Azure tests with extra group. * Rebalance Windows tests with another group.
* Add integration test targets for core supported modules (#24217)jctanner2017-05-103-0/+53
A preliminary set of test targets for "core" supported module that had no independent tests. These will also help us ensure python3 compatibility for those modules and prevent future regressions.