Unverified Commit bec67bbb authored by Julien Georges's avatar Julien Georges Committed by GitHub
Browse files

Add default value for disable_internet_repositories_install (#581)

parent 6e3f856e
......@@ -45,6 +45,9 @@ vitam_repositories:
- key: vitam-extras
value: https://download.programmevitam.fr/vitam_nightly/rpm/vitam-extras/
# To avoid installation of internet repositories (like epel for example)
disable_internet_repositories_install: true # default value if unset: false
###
# reverse_proxy_conf.yml
reverse: apache
......@@ -21,7 +21,7 @@
delay: "{{ packages_install_retries_delay }}"
when:
- ansible_os_family == "Debian"
- disable_internet_repositories_install == false
- disable_internet_repositories_install | default(false) | bool == false
- name: "install openjdk only when Debian"
apt:
......@@ -33,7 +33,7 @@
delay: "{{ packages_install_retries_delay }}"
when:
- ansible_os_family == "Debian"
- disable_internet_repositories_install == true
- disable_internet_repositories_install | default(false) | bool == true
- name: Install logstash package from repo
package:
......
......@@ -37,7 +37,7 @@
delay: "{{ packages_install_retries_delay }}"
when:
- ansible_os_family == "Debian"
- disable_internet_repositories_install == false
- disable_internet_repositories_install | default(false) | bool == false
- name: "install openjdk only when Debian"
apt:
......@@ -49,4 +49,4 @@
delay: "{{ packages_install_retries_delay }}"
when:
- ansible_os_family == "Debian"
- disable_internet_repositories_install == true
- disable_internet_repositories_install | default(false) | bool == true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment