diff options
author | Lee Garrett <leegarrett@users.noreply.github.com> | 2024-11-26 01:43:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-26 01:43:40 +0100 |
commit | f2a77b071e59ccf0b310874bb6ab1a8d642cb813 (patch) | |
tree | d892b300d8b58614f80cca58a0ce0169cef5480f /test/integration/targets/systemd/aliases | |
parent | dnf5,apt: add auto_install_module_deps option (#84292) (diff) | |
download | ansible-f2a77b071e59ccf0b310874bb6ab1a8d642cb813.tar.xz ansible-f2a77b071e59ccf0b310874bb6ab1a8d642cb813.zip |
Test aliases fix (#84377)
* integrity tests: Tag (destructive) root tests as such
- apt_key needs root to touch the apt key database
- debconf needs root to change debconf values of system packages
- gathering writes to /etc/ansible/*, writeable only to root
- group creates system groups
- noexec mounts/umounts a ramdisk
- systemd requires root to start/stop services
Mark all except noexec as "destructive" as they change the state of the system.
* integration test cron requires root, as it calls setup_cron
* integration test dpkg_selection runs dpkg as root
* integration test facts_linux_network requires root
It adds/removes IP addresses from network interfaces, requiring root for that.
* integration test package requires root
installs/removes system packages
* Integration test service requires root
Creates/starts/stops/removes systemd services
* integration test user requires root to create users
* integration tests using setup_test_user require root
---------
Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
Diffstat (limited to 'test/integration/targets/systemd/aliases')
-rw-r--r-- | test/integration/targets/systemd/aliases | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/targets/systemd/aliases b/test/integration/targets/systemd/aliases index a6dafcf8cd..196e72369b 100644 --- a/test/integration/targets/systemd/aliases +++ b/test/integration/targets/systemd/aliases @@ -1 +1,3 @@ +destructive +needs/root shippable/posix/group1 |