- include_role: name: tripleo_podman tasks_from: tripleo_podman_rsyslog_cleanup name: remove rsyslog configuration for podman healthcheck log - check_mode: true name: check systemd-container package present or not package: name: systemd-container state: present register: is_systemd_container_package - name: download systemd-container package if not present when: is_systemd_container_package.changed yum: download_dir: /var/tmp/ download_only: true name: systemd-container state: present - block: - file: path: /etc/tmpfiles.d/var-run-libvirt.conf state: absent name: Remove old tmpfiles.d config name: nova_libvirt_container_tmpfile_cleanup when: step|int == 1 - block: - file: path: /etc/tmpfiles.d/var-run-libvirt.conf state: absent name: Remove old tmpfiles.d config name: nova_migration_target_tmpfile_cleanup when: step|int == 1 - file: path: /etc/cron.daily/containers-tmpwatch state: absent name: Ensure old cron.daily is absent when: step|int == 1 - block: - failed_when: false name: Disable tripleo-iptables.service register: systemd_tripleo_iptables systemd: enabled: false name: tripleo-iptables.service state: stopped - file: path: /etc/systemd/system/tripleo-iptables.service state: absent name: Cleanup tripleo-iptables.services - failed_when: false name: Disable tripleo-ip6tables.service register: systemd_tripleo_ip6tables systemd: enabled: false name: tripleo-ip6tables.service state: stopped - file: path: /etc/systemd/system/tripleo-ip6tables.service state: absent name: Cleanup tripleo-ip6tables.services - name: Reload systemd systemd: daemon_reload: true when: - (systemd_tripleo_iptables is changed or systemd_tripleo_ip6tables is changed) name: Cleanup tripleo-iptables services when: - (step | int) == 1