We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80bfe41 + 3ab6abd commit 3b3dc63Copy full SHA for 3b3dc63
1 file changed
resources/roles/preparation/tasks/rhel.yml
@@ -79,9 +79,10 @@
79
with_items:
80
- "os"
81
- "updates"
82
- when: >
83
- ansible_distribution_file_variety in ('RedHat', 'CentOS') and
84
- ansible_facts.distribution_major_version == '7'
+ when:
+ - ansible_distribution_file_variety in ('RedHat', 'CentOS')
+ - ansible_connection == 'docker'
85
+ - ansible_facts.distribution_major_version == '7'
86
87
- name: Add YUM proxy
88
ini_file:
0 commit comments