+ cd /tmp/tmp9s0zxpy9/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_selinux-95-79b523f-fedora-33-20korx8b/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmp9s0zxpy9/_setup.yml /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmp9s0zxpy9/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmp9s0zxpy9/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmp9s0zxpy9/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 statically imported: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml statically imported: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml PLAYBOOK: tests_all_purge.yml ************************************************** 1 plays in /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml PLAY [Test that selinux_all_purge drops local modifications, defaults to no] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:1 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:12 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: policycoreutils-python-utils-3.1-4.fc33.noarch"]} TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:21 changed: [/cache/fedora-33.qcow2] => {"changed": true, "comment": "Linux System Roles SELinux User", "create_home": true, "group": 1001, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1001} TASK [Add some mapping] ******************************************************** task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:26 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "set -euo pipefail\necho -e -n \"boolean -m --on samba_enable_home_dirs\nport -a -p tcp -t ssh_port_t 22100\nfcontext -a -t user_home_dir_t /tmp/test_dir\nlogin -a -s staff_u sar-user\n\" | /usr/sbin/semanage -i -", "delta": "0:00:07.949847", "end": "2021-10-12 23:16:27.353891", "rc": 0, "start": "2021-10-12 23:16:19.404044", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Apply role with defaults, should not drop local modifications] *********** task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:32 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml:2 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["/usr/sbin/semanage", "boolean", "-l", "-n", "-C"], "delta": "0:00:00.444787", "end": "2021-10-12 23:16:35.473371", "rc": 0, "start": "2021-10-12 23:16:35.028584", "stderr": "", "stderr_lines": [], "stdout": "samba_enable_home_dirs (on , on) Allow samba to enable home dirs", "stdout_lines": ["samba_enable_home_dirs (on , on) Allow samba to enable home dirs"]} TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml:14 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["/usr/sbin/semanage", "port", "-l", "-n", "-C"], "delta": "0:00:00.385404", "end": "2021-10-12 23:16:36.177518", "rc": 0, "start": "2021-10-12 23:16:35.792114", "stderr": "", "stderr_lines": [], "stdout": "ssh_port_t tcp 22100", "stdout_lines": ["ssh_port_t tcp 22100"]} TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml:18 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["/usr/sbin/semanage", "login", "-l", "-n", "-C"], "delta": "0:00:00.430834", "end": "2021-10-12 23:16:36.950300", "rc": 0, "start": "2021-10-12 23:16:36.519466", "stderr": "", "stderr_lines": [], "stdout": "sar-user staff_u s0-s0:c0.c1023 *", "stdout_lines": ["sar-user staff_u s0-s0:c0.c1023 *"]} TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["/usr/sbin/semanage", "fcontext", "-l", "-n", "-C"], "delta": "0:00:00.398453", "end": "2021-10-12 23:16:37.666365", "rc": 0, "start": "2021-10-12 23:16:37.267912", "stderr": "", "stderr_lines": [], "stdout": "/tmp/test_dir all files system_u:object_r:user_home_dir_t:s0 ", "stdout_lines": ["/tmp/test_dir all files system_u:object_r:user_home_dir_t:s0 "]} TASK [Check if local modifications are not empty - booleans] ******************* task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:39 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Check if local modifications are not empty - port] *********************** task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:42 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Check if local modifications are not empty - login] ********************** task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:45 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Check if local modifications are not empty - fcontext] ******************* task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:48 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Apply the role to drop local modifications] ****************************** task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:52 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for /cache/fedora-33.qcow2 NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for /cache/fedora-33.qcow2 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["/usr/sbin/semanage", "-i", "-"], "delta": "0:00:01.610998", "end": "2021-10-12 23:16:44.591230", "rc": 0, "start": "2021-10-12 23:16:42.980232", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml:2 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["/usr/sbin/semanage", "boolean", "-l", "-n", "-C"], "delta": "0:00:00.438667", "end": "2021-10-12 23:16:48.080985", "rc": 0, "start": "2021-10-12 23:16:47.642318", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml:14 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["/usr/sbin/semanage", "port", "-l", "-n", "-C"], "delta": "0:00:00.390373", "end": "2021-10-12 23:16:48.794826", "rc": 0, "start": "2021-10-12 23:16:48.404453", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml:18 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["/usr/sbin/semanage", "login", "-l", "-n", "-C"], "delta": "0:00:00.421446", "end": "2021-10-12 23:16:49.534464", "rc": 0, "start": "2021-10-12 23:16:49.113018", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["/usr/sbin/semanage", "fcontext", "-l", "-n", "-C"], "delta": "0:00:00.402934", "end": "2021-10-12 23:16:50.259848", "rc": 0, "start": "2021-10-12 23:16:49.856914", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Check if local modifications are empty - booleans] *********************** task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:61 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Check if local modifications are empty - port] *************************** task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:64 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Check if local modifications are empty - login] ************************** task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:67 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Check if local modifications are empty - fcontext] *********************** task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:70 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/tmp9s0zxpy9/tests/tests_all_purge.yml:74 changed: [/cache/fedora-33.qcow2] => {"changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent"} RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /tmp/tmp9s0zxpy9/handlers/main.yml:1 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["semodule", "-R"], "delta": "0:00:00.213568", "end": "2021-10-12 23:16:51.649142", "rc": 0, "start": "2021-10-12 23:16:51.435574", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /tmp/tmp9s0zxpy9/handlers/main.yml:1 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["semodule", "-R"], "delta": "0:00:00.218455", "end": "2021-10-12 23:16:52.224211", "rc": 0, "start": "2021-10-12 23:16:52.005756", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=37 changed=6 unreachable=0 failed=0 skipped=34 rescued=0 ignored=0 + cd /tmp/tmp9s0zxpy9/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_selinux-95-79b523f-fedora-33-20korx8b/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmp9s0zxpy9/_setup.yml /tmp/tmp9s0zxpy9/tests/tests_all_transitions.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmp9s0zxpy9/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmp9s0zxpy9/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmp9s0zxpy9/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_all_transitions.yml ******************************************** 1 plays in /tmp/tmp9s0zxpy9/tests/tests_all_transitions.yml PLAY [Test all the possible selinux_state transitions] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp9s0zxpy9/tests/tests_all_transitions.yml:1 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [save config] ************************************************************* task path: /tmp/tmp9s0zxpy9/tests/tests_all_transitions.yml:13 included: /tmp/tmp9s0zxpy9/tests/selinux_config_save.yml for /cache/fedora-33.qcow2 TASK [Backup original /etc/selinux/config] ************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_config_save.yml:1 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "61a40e1faa78b234462d16dffbdb3fb869442406", "dest": "/etc/selinux/config.test_selinux_save", "gid": 0, "group": "root", "md5sum": "eab350e0c5241d4394c2099bf86e9312", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 548, "src": "/etc/selinux/config", "state": "file", "uid": 0} TASK [test all the possible state transitions] ********************************* task path: /tmp/tmp9s0zxpy9/tests/tests_all_transitions.yml:16 included: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml for /cache/fedora-33.qcow2 included: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml for /cache/fedora-33.qcow2 included: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml for /cache/fedora-33.qcow2 included: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml for /cache/fedora-33.qcow2 included: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml for /cache/fedora-33.qcow2 included: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml for /cache/fedora-33.qcow2 included: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml for /cache/fedora-33.qcow2 included: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml for /cache/fedora-33.qcow2 included: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml for /cache/fedora-33.qcow2 TASK [display transition name] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:1 ok: [/cache/fedora-33.qcow2] => { "msg": "testing transition permissive -> permissive" } TASK [setup the initial state] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:6 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: policycoreutils-python-utils-3.1-4.fc33.noarch"]} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 changed: [/cache/fedora-33.qcow2] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "SELinux state changed from 'enforcing' to 'permissive', Config SELinux state changed from 'enforcing' to 'permissive'", "policy": "targeted", "reboot_required": false, "state": "permissive"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:11 ok: [/cache/fedora-33.qcow2] TASK [check that initial state has been set up properly] *********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:16 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [save the initial state] ************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:22 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"initial_selinux_fact": {"config_mode": "permissive", "mode": "permissive", "policyvers": 33, "status": "enabled", "type": "targeted"}}, "changed": false} TASK [apply the role without parameters] *************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:26 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:30 ok: [/cache/fedora-33.qcow2] TASK [check that the run w/o parameters has not changed anything] ************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:34 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [apply the desired state if possible without reboot] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:38 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 ok: [/cache/fedora-33.qcow2] => {"changed": false, "configfile": "/etc/selinux/config", "msg": "", "policy": "targeted", "reboot_required": false, "state": "permissive"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [apply the desired state if necessary with reboot] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:48 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:57 ok: [/cache/fedora-33.qcow2] TASK [check that something changed if it should have] ************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:61 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [check that nothing changed if it should not have] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:66 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that desired state has been applied properly] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:71 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that desired state has been saved properly] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:77 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [display transition name] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:1 ok: [/cache/fedora-33.qcow2] => { "msg": "testing transition permissive -> enforcing" } TASK [setup the initial state] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:6 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 ok: [/cache/fedora-33.qcow2] => {"changed": false, "configfile": "/etc/selinux/config", "msg": "", "policy": "targeted", "reboot_required": false, "state": "permissive"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:11 ok: [/cache/fedora-33.qcow2] TASK [check that initial state has been set up properly] *********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:16 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [save the initial state] ************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:22 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"initial_selinux_fact": {"config_mode": "permissive", "mode": "permissive", "policyvers": 33, "status": "enabled", "type": "targeted"}}, "changed": false} TASK [apply the role without parameters] *************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:26 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:30 ok: [/cache/fedora-33.qcow2] TASK [check that the run w/o parameters has not changed anything] ************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:34 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [apply the desired state if possible without reboot] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:38 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 changed: [/cache/fedora-33.qcow2] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "SELinux state changed from 'permissive' to 'enforcing', Config SELinux state changed from 'permissive' to 'enforcing'", "policy": "targeted", "reboot_required": false, "state": "enforcing"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [apply the desired state if necessary with reboot] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:48 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:57 ok: [/cache/fedora-33.qcow2] TASK [check that something changed if it should have] ************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:61 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that nothing changed if it should not have] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:66 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [check that desired state has been applied properly] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:71 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that desired state has been saved properly] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:77 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [display transition name] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:1 ok: [/cache/fedora-33.qcow2] => { "msg": "testing transition permissive -> disabled" } TASK [setup the initial state] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:6 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 changed: [/cache/fedora-33.qcow2] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "SELinux state changed from 'enforcing' to 'permissive', Config SELinux state changed from 'enforcing' to 'permissive'", "policy": "targeted", "reboot_required": false, "state": "permissive"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:11 ok: [/cache/fedora-33.qcow2] TASK [check that initial state has been set up properly] *********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:16 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [save the initial state] ************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:22 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"initial_selinux_fact": {"config_mode": "permissive", "mode": "permissive", "policyvers": 33, "status": "enabled", "type": "targeted"}}, "changed": false} TASK [apply the role without parameters] *************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:26 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:30 ok: [/cache/fedora-33.qcow2] TASK [check that the run w/o parameters has not changed anything] ************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:34 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [apply the desired state if possible without reboot] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:38 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [apply the desired state if necessary with reboot] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:48 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 [WARNING]: SELinux state change will take effect next reboot changed: [/cache/fedora-33.qcow2] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "Config SELinux state changed from 'permissive' to 'disabled'", "policy": "targeted", "reboot_required": true, "state": "disabled"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": true}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "msg": "Reboot is required to apply changes. Re-execute the role after boot."} TASK [handle errors] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [restart managed host] **************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:12 changed: [/cache/fedora-33.qcow2] => {"changed": true, "elapsed": 10, "rebooted": true} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:57 ok: [/cache/fedora-33.qcow2] TASK [check that something changed if it should have] ************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:61 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that nothing changed if it should not have] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:66 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [check that desired state has been applied properly] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:71 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that desired state has been saved properly] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:77 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [display transition name] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:1 ok: [/cache/fedora-33.qcow2] => { "msg": "testing transition enforcing -> permissive" } TASK [setup the initial state] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:6 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 [WARNING]: Reboot is required to set SELinux state to 'enforcing' changed: [/cache/fedora-33.qcow2] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "Config SELinux state changed from 'disabled' to 'enforcing'", "policy": "targeted", "reboot_required": true, "state": "enforcing"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": true}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "msg": "Reboot is required to apply changes. Re-execute the role after boot."} TASK [handle errors] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [restart managed host] **************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:12 changed: [/cache/fedora-33.qcow2] => {"changed": true, "elapsed": 34, "rebooted": true} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:11 ok: [/cache/fedora-33.qcow2] TASK [check that initial state has been set up properly] *********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:16 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [save the initial state] ************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:22 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"initial_selinux_fact": {"config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted"}}, "changed": false} TASK [apply the role without parameters] *************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:26 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:30 ok: [/cache/fedora-33.qcow2] TASK [check that the run w/o parameters has not changed anything] ************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:34 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [apply the desired state if possible without reboot] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:38 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 changed: [/cache/fedora-33.qcow2] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "SELinux state changed from 'enforcing' to 'permissive', Config SELinux state changed from 'enforcing' to 'permissive'", "policy": "targeted", "reboot_required": false, "state": "permissive"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [apply the desired state if necessary with reboot] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:48 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:57 ok: [/cache/fedora-33.qcow2] TASK [check that something changed if it should have] ************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:61 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that nothing changed if it should not have] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:66 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [check that desired state has been applied properly] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:71 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that desired state has been saved properly] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:77 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [display transition name] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:1 ok: [/cache/fedora-33.qcow2] => { "msg": "testing transition enforcing -> enforcing" } TASK [setup the initial state] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:6 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 changed: [/cache/fedora-33.qcow2] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "SELinux state changed from 'permissive' to 'enforcing', Config SELinux state changed from 'permissive' to 'enforcing'", "policy": "targeted", "reboot_required": false, "state": "enforcing"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:11 ok: [/cache/fedora-33.qcow2] TASK [check that initial state has been set up properly] *********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:16 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [save the initial state] ************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:22 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"initial_selinux_fact": {"config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted"}}, "changed": false} TASK [apply the role without parameters] *************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:26 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:30 ok: [/cache/fedora-33.qcow2] TASK [check that the run w/o parameters has not changed anything] ************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:34 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [apply the desired state if possible without reboot] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:38 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 ok: [/cache/fedora-33.qcow2] => {"changed": false, "configfile": "/etc/selinux/config", "msg": "", "policy": "targeted", "reboot_required": false, "state": "enforcing"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [apply the desired state if necessary with reboot] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:48 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:57 ok: [/cache/fedora-33.qcow2] TASK [check that something changed if it should have] ************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:61 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [check that nothing changed if it should not have] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:66 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that desired state has been applied properly] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:71 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that desired state has been saved properly] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:77 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [display transition name] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:1 ok: [/cache/fedora-33.qcow2] => { "msg": "testing transition enforcing -> disabled" } TASK [setup the initial state] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:6 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 ok: [/cache/fedora-33.qcow2] => {"changed": false, "configfile": "/etc/selinux/config", "msg": "", "policy": "targeted", "reboot_required": false, "state": "enforcing"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:11 ok: [/cache/fedora-33.qcow2] TASK [check that initial state has been set up properly] *********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:16 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [save the initial state] ************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:22 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"initial_selinux_fact": {"config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted"}}, "changed": false} TASK [apply the role without parameters] *************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:26 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:30 ok: [/cache/fedora-33.qcow2] TASK [check that the run w/o parameters has not changed anything] ************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:34 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [apply the desired state if possible without reboot] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:38 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [apply the desired state if necessary with reboot] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:48 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 [WARNING]: SELinux state temporarily changed from 'enforcing' to 'permissive'. State change will take effect next reboot. changed: [/cache/fedora-33.qcow2] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "Config SELinux state changed from 'enforcing' to 'disabled'", "policy": "targeted", "reboot_required": true, "state": "disabled"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": true}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "msg": "Reboot is required to apply changes. Re-execute the role after boot."} TASK [handle errors] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [restart managed host] **************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:12 changed: [/cache/fedora-33.qcow2] => {"changed": true, "elapsed": 10, "rebooted": true} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:57 ok: [/cache/fedora-33.qcow2] TASK [check that something changed if it should have] ************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:61 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that nothing changed if it should not have] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:66 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [check that desired state has been applied properly] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:71 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that desired state has been saved properly] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:77 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [display transition name] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:1 ok: [/cache/fedora-33.qcow2] => { "msg": "testing transition disabled -> permissive" } TASK [setup the initial state] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:6 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 ok: [/cache/fedora-33.qcow2] => {"changed": false, "configfile": "/etc/selinux/config", "msg": "", "policy": "targeted", "reboot_required": false, "state": "disabled"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 ok: [/cache/fedora-33.qcow2] => { "msg": "SELinux is disabled on system - some SELinux modules can crash" } TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:11 ok: [/cache/fedora-33.qcow2] TASK [check that initial state has been set up properly] *********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:16 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [save the initial state] ************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:22 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"initial_selinux_fact": {"status": "disabled"}}, "changed": false} TASK [apply the role without parameters] *************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:26 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 ok: [/cache/fedora-33.qcow2] => { "msg": "SELinux is disabled on system - some SELinux modules can crash" } TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:30 ok: [/cache/fedora-33.qcow2] TASK [check that the run w/o parameters has not changed anything] ************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:34 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [apply the desired state if possible without reboot] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:38 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [apply the desired state if necessary with reboot] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:48 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 [WARNING]: Reboot is required to set SELinux state to 'permissive' changed: [/cache/fedora-33.qcow2] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "Config SELinux state changed from 'disabled' to 'permissive'", "policy": "targeted", "reboot_required": true, "state": "permissive"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": true}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "msg": "Reboot is required to apply changes. Re-execute the role after boot."} TASK [handle errors] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [restart managed host] **************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:12 changed: [/cache/fedora-33.qcow2] => {"changed": true, "elapsed": 33, "rebooted": true} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:57 ok: [/cache/fedora-33.qcow2] TASK [check that something changed if it should have] ************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:61 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that nothing changed if it should not have] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:66 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [check that desired state has been applied properly] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:71 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that desired state has been saved properly] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:77 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [display transition name] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:1 ok: [/cache/fedora-33.qcow2] => { "msg": "testing transition disabled -> enforcing" } TASK [setup the initial state] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:6 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 changed: [/cache/fedora-33.qcow2] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "Config SELinux state changed from 'permissive' to 'disabled'", "policy": "targeted", "reboot_required": true, "state": "disabled"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": true}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "msg": "Reboot is required to apply changes. Re-execute the role after boot."} TASK [handle errors] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [restart managed host] **************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:12 changed: [/cache/fedora-33.qcow2] => {"changed": true, "elapsed": 10, "rebooted": true} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:11 ok: [/cache/fedora-33.qcow2] TASK [check that initial state has been set up properly] *********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:16 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [save the initial state] ************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:22 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"initial_selinux_fact": {"status": "disabled"}}, "changed": false} TASK [apply the role without parameters] *************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:26 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 ok: [/cache/fedora-33.qcow2] => { "msg": "SELinux is disabled on system - some SELinux modules can crash" } TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:30 ok: [/cache/fedora-33.qcow2] TASK [check that the run w/o parameters has not changed anything] ************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:34 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [apply the desired state if possible without reboot] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:38 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [apply the desired state if necessary with reboot] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:48 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 changed: [/cache/fedora-33.qcow2] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "Config SELinux state changed from 'disabled' to 'enforcing'", "policy": "targeted", "reboot_required": true, "state": "enforcing"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": true}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "msg": "Reboot is required to apply changes. Re-execute the role after boot."} TASK [handle errors] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [restart managed host] **************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:12 changed: [/cache/fedora-33.qcow2] => {"changed": true, "elapsed": 33, "rebooted": true} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:57 ok: [/cache/fedora-33.qcow2] TASK [check that something changed if it should have] ************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:61 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that nothing changed if it should not have] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:66 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [check that desired state has been applied properly] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:71 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that desired state has been saved properly] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:77 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [display transition name] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:1 ok: [/cache/fedora-33.qcow2] => { "msg": "testing transition disabled -> disabled" } TASK [setup the initial state] ************************************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:6 included: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml for /cache/fedora-33.qcow2 TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:3 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 changed: [/cache/fedora-33.qcow2] => {"changed": true, "configfile": "/etc/selinux/config", "msg": "Config SELinux state changed from 'enforcing' to 'disabled'", "policy": "targeted", "reboot_required": true, "state": "disabled"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": true}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "msg": "Reboot is required to apply changes. Re-execute the role after boot."} TASK [handle errors] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [restart managed host] **************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_apply_reboot.yml:12 changed: [/cache/fedora-33.qcow2] => {"changed": true, "elapsed": 10, "rebooted": true} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:11 ok: [/cache/fedora-33.qcow2] TASK [check that initial state has been set up properly] *********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:16 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [save the initial state] ************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:22 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"initial_selinux_fact": {"status": "disabled"}}, "changed": false} TASK [apply the role without parameters] *************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:26 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 ok: [/cache/fedora-33.qcow2] => { "msg": "SELinux is disabled on system - some SELinux modules can crash" } TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:30 ok: [/cache/fedora-33.qcow2] TASK [check that the run w/o parameters has not changed anything] ************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:34 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [apply the desired state if possible without reboot] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:38 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:18 ok: [/cache/fedora-33.qcow2] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:31 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:39 ok: [/cache/fedora-33.qcow2] => {"changed": false, "configfile": "/etc/selinux/config", "msg": "", "policy": "targeted", "reboot_required": false, "state": "disabled"} TASK [linux-system-roles.selinux : Set ansible facts if needed] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:46 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_reboot_required": false}, "changed": false} TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:57 ok: [/cache/fedora-33.qcow2] => { "msg": "SELinux is disabled on system - some SELinux modules can crash" } TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:62 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:69 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:73 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:77 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:85 TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:92 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:101 TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:107 TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp9s0zxpy9/tasks/main.yml:115 TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:123 TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:133 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"selinux_installed_modules": {"abrt": {"100": "enabled"}, "accountsd": {"100": "enabled"}, "acct": {"100": "enabled"}, "afs": {"100": "enabled"}, "aiccu": {"100": "enabled"}, "aide": {"100": "enabled"}, "ajaxterm": {"100": "enabled"}, "alsa": {"100": "enabled"}, "amanda": {"100": "enabled"}, "amtu": {"100": "enabled"}, "anaconda": {"100": "enabled"}, "antivirus": {"100": "enabled"}, "apache": {"100": "enabled"}, "apcupsd": {"100": "enabled"}, "apm": {"100": "enabled"}, "application": {"100": "enabled"}, "arpwatch": {"100": "enabled"}, "asterisk": {"100": "enabled"}, "auditadm": {"100": "enabled"}, "authconfig": {"100": "enabled"}, "authlogin": {"100": "enabled"}, "automount": {"100": "enabled"}, "avahi": {"100": "enabled"}, "awstats": {"100": "enabled"}, "bacula": {"100": "enabled"}, "base": {"100": "enabled"}, "bcfg2": {"100": "enabled"}, "bind": {"100": "enabled"}, "bitlbee": {"100": "enabled"}, "blkmapd": {"100": "enabled"}, "blueman": {"100": "enabled"}, "bluetooth": {"100": "enabled"}, "boinc": {"100": "enabled"}, "boltd": {"100": "enabled"}, "bootloader": {"100": "enabled"}, "brctl": {"100": "enabled"}, "brltty": {"100": "enabled"}, "bugzilla": {"100": "enabled"}, "bumblebee": {"100": "enabled"}, "cachefilesd": {"100": "enabled"}, "calamaris": {"100": "enabled"}, "callweaver": {"100": "enabled"}, "canna": {"100": "enabled"}, "ccs": {"100": "enabled"}, "cdrecord": {"100": "enabled"}, "certmaster": {"100": "enabled"}, "certmonger": {"100": "enabled"}, "certwatch": {"100": "enabled"}, "cfengine": {"100": "enabled"}, "cgroup": {"100": "enabled"}, "chrome": {"100": "enabled"}, "chronyd": {"100": "enabled"}, "cinder": {"100": "enabled"}, "cipe": {"100": "enabled"}, "clock": {"100": "enabled"}, "clogd": {"100": "enabled"}, "cloudform": {"100": "enabled"}, "cmirrord": {"100": "enabled"}, "cobbler": {"100": "enabled"}, "cockpit": {"100": "enabled"}, "collectd": {"100": "enabled"}, "colord": {"100": "enabled"}, "comsat": {"100": "enabled"}, "condor": {"100": "enabled"}, "conman": {"100": "enabled"}, "conntrackd": {"100": "enabled"}, "consolekit": {"100": "enabled"}, "couchdb": {"100": "enabled"}, "courier": {"100": "enabled"}, "cpucontrol": {"100": "enabled"}, "cpufreqselector": {"100": "enabled"}, "cpuplug": {"100": "enabled"}, "cron": {"100": "enabled"}, "ctdb": {"100": "enabled"}, "cups": {"100": "enabled"}, "cvs": {"100": "enabled"}, "cyphesis": {"100": "enabled"}, "cyrus": {"100": "enabled"}, "daemontools": {"100": "enabled"}, "dbadm": {"100": "enabled"}, "dbskk": {"100": "enabled"}, "dbus": {"100": "enabled"}, "dcc": {"100": "enabled"}, "ddclient": {"100": "enabled"}, "denyhosts": {"100": "enabled"}, "devicekit": {"100": "enabled"}, "dhcp": {"100": "enabled"}, "dictd": {"100": "enabled"}, "dirsrv": {"100": "enabled"}, "dirsrv-admin": {"100": "enabled"}, "dmesg": {"100": "enabled"}, "dmidecode": {"100": "enabled"}, "dnsmasq": {"100": "enabled"}, "dnssec": {"100": "enabled"}, "dovecot": {"100": "enabled"}, "drbd": {"100": "enabled"}, "dspam": {"100": "enabled"}, "entropyd": {"100": "enabled"}, "exim": {"100": "enabled"}, "fail2ban": {"100": "enabled"}, "fcoe": {"100": "enabled"}, "fetchmail": {"100": "enabled"}, "finger": {"100": "enabled"}, "firewalld": {"100": "enabled"}, "firewallgui": {"100": "enabled"}, "firstboot": {"100": "enabled"}, "fprintd": {"100": "enabled"}, "freeipmi": {"100": "enabled"}, "freqset": {"100": "enabled"}, "fstools": {"100": "enabled"}, "ftp": {"100": "enabled"}, "fwupd": {"100": "enabled"}, "games": {"100": "enabled"}, "gdomap": {"100": "enabled"}, "geoclue": {"100": "enabled"}, "getty": {"100": "enabled"}, "git": {"100": "enabled"}, "gitosis": {"100": "enabled"}, "glance": {"100": "enabled"}, "glusterd": {"100": "enabled"}, "gnome": {"100": "enabled"}, "gpg": {"100": "enabled"}, "gpm": {"100": "enabled"}, "gpsd": {"100": "enabled"}, "gssproxy": {"100": "enabled"}, "guest": {"100": "enabled"}, "hddtemp": {"100": "enabled"}, "hostapd": {"100": "enabled"}, "hostname": {"100": "enabled"}, "hsqldb": {"100": "enabled"}, "hwloc": {"100": "enabled"}, "hypervkvp": {"100": "enabled"}, "ibacm": {"100": "enabled"}, "icecast": {"100": "enabled"}, "inetd": {"100": "enabled"}, "init": {"100": "enabled"}, "inn": {"100": "enabled"}, "iodine": {"100": "enabled"}, "iotop": {"100": "enabled"}, "ipa": {"100": "enabled"}, "ipmievd": {"100": "enabled"}, "ipsec": {"100": "enabled"}, "iptables": {"100": "enabled"}, "irc": {"100": "enabled"}, "irqbalance": {"100": "enabled"}, "iscsi": {"100": "enabled"}, "isns": {"100": "enabled"}, "jabber": {"100": "enabled"}, "jetty": {"100": "enabled"}, "jockey": {"100": "enabled"}, "journalctl": {"100": "enabled"}, "kdump": {"100": "enabled"}, "kdumpgui": {"100": "enabled"}, "keepalived": {"100": "enabled"}, "kerberos": {"100": "enabled"}, "keyboardd": {"100": "enabled"}, "keystone": {"100": "enabled"}, "kismet": {"100": "enabled"}, "kmscon": {"100": "enabled"}, "kpatch": {"100": "enabled"}, "ksmtuned": {"100": "enabled"}, "ktalk": {"100": "enabled"}, "l2tp": {"100": "enabled"}, "ldap": {"100": "enabled"}, "libraries": {"100": "enabled"}, "likewise": {"100": "enabled"}, "linuxptp": {"100": "enabled"}, "lircd": {"100": "enabled"}, "livecd": {"100": "enabled"}, "lldpad": {"100": "enabled"}, "loadkeys": {"100": "enabled"}, "locallogin": {"100": "enabled"}, "lockdev": {"100": "enabled"}, "logadm": {"100": "enabled"}, "logging": {"100": "enabled"}, "logrotate": {"100": "enabled"}, "logwatch": {"100": "enabled"}, "lpd": {"100": "enabled"}, "lsm": {"100": "enabled"}, "lttng-tools": {"100": "enabled"}, "lvm": {"100": "enabled"}, "mailman": {"100": "enabled"}, "mailscanner": {"100": "enabled"}, "man2html": {"100": "enabled"}, "mandb": {"100": "enabled"}, "mcelog": {"100": "enabled"}, "mediawiki": {"100": "enabled"}, "memcached": {"100": "enabled"}, "milter": {"100": "enabled"}, "minidlna": {"100": "enabled"}, "minissdpd": {"100": "enabled"}, "mip6d": {"100": "enabled"}, "mirrormanager": {"100": "enabled"}, "miscfiles": {"100": "enabled"}, "mock": {"100": "enabled"}, "modemmanager": {"100": "enabled"}, "modutils": {"100": "enabled"}, "mojomojo": {"100": "enabled"}, "mon_statd": {"100": "enabled"}, "mongodb": {"100": "enabled"}, "motion": {"100": "enabled"}, "mount": {"100": "enabled"}, "mozilla": {"100": "enabled"}, "mpd": {"100": "enabled"}, "mplayer": {"100": "enabled"}, "mrtg": {"100": "enabled"}, "mta": {"100": "enabled"}, "munin": {"100": "enabled"}, "mysql": {"100": "enabled"}, "mythtv": {"100": "enabled"}, "naemon": {"100": "enabled"}, "nagios": {"100": "enabled"}, "namespace": {"100": "enabled"}, "ncftool": {"100": "enabled"}, "netlabel": {"100": "enabled"}, "netutils": {"100": "enabled"}, "networkmanager": {"100": "enabled"}, "ninfod": {"100": "enabled"}, "nis": {"100": "enabled"}, "nova": {"100": "enabled"}, "nscd": {"100": "enabled"}, "nsd": {"100": "enabled"}, "nslcd": {"100": "enabled"}, "ntop": {"100": "enabled"}, "ntp": {"100": "enabled"}, "numad": {"100": "enabled"}, "nut": {"100": "enabled"}, "nx": {"100": "enabled"}, "obex": {"100": "enabled"}, "oddjob": {"100": "enabled"}, "opafm": {"100": "enabled"}, "openct": {"100": "enabled"}, "opendnssec": {"100": "enabled"}, "openfortivpn": {"100": "enabled"}, "openhpid": {"100": "enabled"}, "openshift": {"100": "enabled"}, "openshift-origin": {"100": "enabled"}, "opensm": {"100": "enabled"}, "openvpn": {"100": "enabled"}, "openvswitch": {"100": "enabled"}, "openwsman": {"100": "enabled"}, "oracleasm": {"100": "enabled"}, "osad": {"100": "enabled"}, "pads": {"100": "enabled"}, "passenger": {"100": "enabled"}, "pcmcia": {"100": "enabled"}, "pcp": {"100": "enabled"}, "pcscd": {"100": "enabled"}, "pdns": {"100": "enabled"}, "pegasus": {"100": "enabled"}, "permissivedomains": {"100": "enabled"}, "pesign": {"100": "enabled"}, "pingd": {"100": "enabled"}, "piranha": {"100": "enabled"}, "pkcs": {"100": "enabled"}, "pkcs11proxyd": {"100": "enabled"}, "pki": {"100": "enabled"}, "plymouthd": {"100": "enabled"}, "podsleuth": {"100": "enabled"}, "policykit": {"100": "enabled"}, "polipo": {"100": "enabled"}, "portmap": {"100": "enabled"}, "portreserve": {"100": "enabled"}, "postfix": {"100": "enabled"}, "postgresql": {"100": "enabled"}, "postgrey": {"100": "enabled"}, "ppp": {"100": "enabled"}, "prelink": {"100": "enabled"}, "prelude": {"100": "enabled"}, "privoxy": {"100": "enabled"}, "procmail": {"100": "enabled"}, "prosody": {"100": "enabled"}, "psad": {"100": "enabled"}, "ptchown": {"100": "enabled"}, "publicfile": {"100": "enabled"}, "pulseaudio": {"100": "enabled"}, "puppet": {"100": "enabled"}, "pwauth": {"100": "enabled"}, "qmail": {"100": "enabled"}, "qpid": {"100": "enabled"}, "quantum": {"100": "enabled"}, "quota": {"100": "enabled"}, "rabbitmq": {"100": "enabled"}, "radius": {"100": "enabled"}, "radvd": {"100": "enabled"}, "raid": {"100": "enabled"}, "rasdaemon": {"100": "enabled"}, "rdisc": {"100": "enabled"}, "readahead": {"100": "enabled"}, "realmd": {"100": "enabled"}, "redis": {"100": "enabled"}, "remotelogin": {"100": "enabled"}, "rhcs": {"100": "enabled"}, "rhev": {"100": "enabled"}, "rhgb": {"100": "enabled"}, "rhnsd": {"100": "enabled"}, "rhsmcertd": {"100": "enabled"}, "ricci": {"100": "enabled"}, "rkhunter": {"100": "enabled"}, "rkt": {"100": "enabled"}, "rlogin": {"100": "enabled"}, "rngd": {"100": "enabled"}, "rolekit": {"100": "enabled"}, "roundup": {"100": "enabled"}, "rpc": {"100": "enabled"}, "rpcbind": {"100": "enabled"}, "rpm": {"100": "enabled"}, "rrdcached": {"100": "enabled"}, "rshd": {"100": "enabled"}, "rssh": {"100": "enabled"}, "rsync": {"100": "enabled"}, "rtas": {"100": "enabled"}, "rtkit": {"100": "enabled"}, "rwho": {"100": "enabled"}, "samba": {"100": "enabled"}, "sambagui": {"100": "enabled"}, "sandboxX": {"100": "enabled"}, "sanlock": {"100": "enabled"}, "sasl": {"100": "enabled"}, "sbd": {"100": "enabled"}, "sblim": {"100": "enabled"}, "screen": {"100": "enabled"}, "secadm": {"100": "enabled"}, "sectoolm": {"100": "enabled"}, "selinuxutil": {"100": "enabled"}, "sendmail": {"100": "enabled"}, "sensord": {"100": "enabled"}, "setrans": {"100": "enabled"}, "setroubleshoot": {"100": "enabled"}, "seunshare": {"100": "enabled"}, "sge": {"100": "enabled"}, "shorewall": {"100": "enabled"}, "slocate": {"100": "enabled"}, "slpd": {"100": "enabled"}, "smartmon": {"100": "enabled"}, "smokeping": {"100": "enabled"}, "smoltclient": {"100": "enabled"}, "smsd": {"100": "enabled"}, "snapper": {"100": "enabled"}, "snmp": {"100": "enabled"}, "snort": {"100": "enabled"}, "sosreport": {"100": "enabled"}, "soundserver": {"100": "enabled"}, "spamassassin": {"100": "enabled"}, "speech-dispatcher": {"100": "enabled"}, "squid": {"100": "enabled"}, "ssh": {"100": "enabled"}, "sslh": {"100": "enabled"}, "sssd": {"100": "enabled"}, "staff": {"100": "enabled"}, "stapserver": {"100": "enabled"}, "stratisd": {"100": "enabled"}, "stunnel": {"100": "enabled"}, "su": {"100": "enabled"}, "sudo": {"100": "enabled"}, "svnserve": {"100": "enabled"}, "swift": {"100": "enabled"}, "sysadm": {"100": "enabled"}, "sysadm_secadm": {"100": "enabled"}, "sysnetwork": {"100": "enabled"}, "sysstat": {"100": "enabled"}, "systemd": {"100": "enabled"}, "tangd": {"100": "enabled"}, "targetd": {"100": "enabled"}, "tcpd": {"100": "enabled"}, "tcsd": {"100": "enabled"}, "telepathy": {"100": "enabled"}, "telnet": {"100": "enabled"}, "tftp": {"100": "enabled"}, "tgtd": {"100": "enabled"}, "thin": {"100": "enabled"}, "thumb": {"100": "enabled"}, "timedatex": {"100": "enabled"}, "tlp": {"100": "enabled"}, "tmpreaper": {"100": "enabled"}, "tomcat": {"100": "enabled"}, "tor": {"100": "enabled"}, "tuned": {"100": "enabled"}, "tvtime": {"100": "enabled"}, "udev": {"100": "enabled"}, "ulogd": {"100": "enabled"}, "uml": {"100": "enabled"}, "unconfined": {"100": "enabled"}, "unconfineduser": {"100": "enabled"}, "unlabelednet": {"100": "enabled"}, "unprivuser": {"100": "enabled"}, "updfstab": {"100": "enabled"}, "usbmodules": {"100": "enabled"}, "usbmuxd": {"100": "enabled"}, "userdomain": {"100": "enabled"}, "userhelper": {"100": "enabled"}, "usermanage": {"100": "enabled"}, "usernetctl": {"100": "enabled"}, "uucp": {"100": "enabled"}, "uuidd": {"100": "enabled"}, "varnishd": {"100": "enabled"}, "vdagent": {"100": "enabled"}, "vhostmd": {"100": "enabled"}, "virt": {"100": "enabled"}, "vlock": {"100": "enabled"}, "vmtools": {"100": "enabled"}, "vmware": {"100": "enabled"}, "vnstatd": {"100": "enabled"}, "vpn": {"100": "enabled"}, "w3c": {"100": "enabled"}, "watchdog": {"100": "enabled"}, "wdmd": {"100": "enabled"}, "webadm": {"100": "enabled"}, "webalizer": {"100": "enabled"}, "wine": {"100": "enabled"}, "wireshark": {"100": "enabled"}, "xen": {"100": "enabled"}, "xguest": {"100": "enabled"}, "xserver": {"100": "enabled"}, "zabbix": {"100": "enabled"}, "zarafa": {"100": "enabled"}, "zebra": {"100": "enabled"}, "zoneminder": {"100": "enabled"}, "zosremote": {"100": "enabled"}}, "selinux_priorities": true}, "changed": false} TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:136 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [apply the desired state if necessary with reboot] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:48 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [refresh facts] *********************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:57 ok: [/cache/fedora-33.qcow2] TASK [check that something changed if it should have] ************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:61 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [check that nothing changed if it should not have] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:66 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that desired state has been applied properly] ********************** task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:71 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [check that desired state has been saved properly] ************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_test_transitions.yml:77 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [restore config] ********************************************************** task path: /tmp/tmp9s0zxpy9/tests/tests_all_transitions.yml:25 included: /tmp/tmp9s0zxpy9/tests/selinux_config_restore.yml for /cache/fedora-33.qcow2 TASK [Restore original /etc/selinux/config] ************************************ task path: /tmp/tmp9s0zxpy9/tests/selinux_config_restore.yml:1 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "61a40e1faa78b234462d16dffbdb3fb869442406", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "eab350e0c5241d4394c2099bf86e9312", "mode": "0644", "owner": "root", "size": 548, "src": "/etc/selinux/config.test_selinux_save", "state": "file", "uid": 0} TASK [Remove /etc/selinux/config backup] *************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_config_restore.yml:9 changed: [/cache/fedora-33.qcow2] => {"changed": true, "path": "/etc/selinux/config.test_selinux_save", "state": "absent"} TASK [restart managed host] **************************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_config_restore.yml:16 changed: [/cache/fedora-33.qcow2] => {"ansible_job_id": "818542571538.1939", "changed": true, "finished": 0, "results_file": "/root/.ansible_async/818542571538.1939", "started": 1} TASK [wait for managed host to come back] ************************************** task path: /tmp/tmp9s0zxpy9/tests/selinux_config_restore.yml:22 ok: [/cache/fedora-33.qcow2] => {"changed": false, "elapsed": 39} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=279 changed=24 unreachable=0 failed=0 skipped=364 rescued=7 ignored=0 + cd /tmp/tmp9s0zxpy9/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_selinux-95-79b523f-fedora-33-20korx8b/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmp9s0zxpy9/_setup.yml /tmp/tmp9s0zxpy9/tests/tests_boolean.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmp9s0zxpy9/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmp9s0zxpy9/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmp9s0zxpy9/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 statically imported: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml statically imported: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml statically imported: /tmp/tmp9s0zxpy9/tests/set_selinux_variables.yml PLAYBOOK: tests_boolean.yml **************************************************** 1 plays in /tmp/tmp9s0zxpy9/tests/tests_boolean.yml PLAY [Check if selinux role sets SELinux booleans] ***************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp9s0zxpy9/tests/tests_boolean.yml:1 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [initial changes] ********************************************************* task path: /tmp/tmp9s0zxpy9/tests/tests_boolean.yml:6 TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp9s0zxpy9/tasks/main.yml:10 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'fedora-modular': Cannot prepare internal mirrorlist: Status code: 503 for https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-33&arch=x86_64 (IP: 152.19.134.142)", "rc": 1, "results": []} PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0