summaryrefslogtreecommitdiffstats
path: root/roles/contiv_facts/tasks/fedora-install.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/contiv_facts/tasks/fedora-install.yml')
-rw-r--r--roles/contiv_facts/tasks/fedora-install.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/roles/contiv_facts/tasks/fedora-install.yml b/roles/contiv_facts/tasks/fedora-install.yml
index a57f6eb19..b8239a636 100644
--- a/roles/contiv_facts/tasks/fedora-install.yml
+++ b/roles/contiv_facts/tasks/fedora-install.yml
@@ -4,16 +4,16 @@
name: dnf
state: installed
register: result
- until: result | success
+ until: result is succeeded
- name: Update repo cache
command: dnf update -y
retries: 5
delay: 10
environment:
- https_proxy: "{{ https_proxy }}"
- http_proxy: "{{ http_proxy }}"
- no_proxy: "{{ no_proxy }}"
+ https_proxy: "{{ contiv_https_proxy }}"
+ http_proxy: "{{ contiv_http_proxy }}"
+ no_proxy: "{{ contiv_no_proxy }}"
- name: Install libselinux-python
command: dnf install {{ item }} -y
@@ -21,6 +21,6 @@
- python-dnf
- libselinux-python
environment:
- https_proxy: "{{ https_proxy }}"
- http_proxy: "{{ http_proxy }}"
- no_proxy: "{{ no_proxy }}"
+ https_proxy: "{{ contiv_https_proxy }}"
+ http_proxy: "{{ contiv_http_proxy }}"
+ no_proxy: "{{ contiv_no_proxy }}"