|
@ -26,6 +26,21 @@ |
|
|
when: |
|
|
when: |
|
|
- ansible_distribution == "Fedora" |
|
|
- ansible_distribution == "Fedora" |
|
|
- ansible_distribution_major_version|int > 21 |
|
|
- ansible_distribution_major_version|int > 21 |
|
|
|
|
|
- ansible_distribution_major_version|int <= 29 |
|
|
|
|
|
- not is_atomic |
|
|
|
|
|
changed_when: False |
|
|
|
|
|
tags: |
|
|
|
|
|
- bootstrap-os |
|
|
|
|
|
|
|
|
|
|
|
- name: Install python3-dnf for latest RedHat versions |
|
|
|
|
|
command: dnf install -y python3-dnf |
|
|
|
|
|
register: dnf_task_result |
|
|
|
|
|
until: dnf_task_result is succeeded |
|
|
|
|
|
retries: 4 |
|
|
|
|
|
delay: "{{ retry_stagger | random + 3 }}" |
|
|
|
|
|
when: |
|
|
|
|
|
- ansible_distribution == "Fedora" |
|
|
|
|
|
- ansible_distribution_major_version|int >= 30 |
|
|
- not is_atomic |
|
|
- not is_atomic |
|
|
changed_when: False |
|
|
changed_when: False |
|
|
tags: |
|
|
tags: |
|
|