- 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 - include_role: name: tripleo_redhat_enforce name: Enforce RHOSP rules regarding subscription. vars: skip_rhel_enforcement: false when: - step|int == 0 - ansible_facts['distribution'] == 'RedHat' - not (skip_rhel_enforcement | bool) - loop: '{{ dnf_module_list|list }}' name: Ensure DNF modules have the right stream enabled tripleo_dnf_stream: name: '{{ item.module }}:{{ item.stream }}' state: enabled vars: dnf_module_list: [] when: - step|int == 0 - dnf_module_list|length > 0 - item.distribution_version is defined - ansible_facts['distribution_major_version'] is version(item.distribution_version, '==') - name: Check for existing yum.pid register: yum_pid_file stat: path=/run/yum.pid when: step|int == 0 or step|int == 3 - fail: msg="ERROR existing yum.pid detected - can't continue! Please ensure there is no other package update process for the duration of the minor update worfklow. Exiting." name: Exit if existing yum process when: (step|int == 0 or step|int == 3) and yum_pid_file.stat.exists