Skip to content
Snippets Groups Projects
Commit 680eb2bd authored by Antoine Schildknecht's avatar Antoine Schildknecht
Browse files

Update conf role to handle offline packages installation

parent 3dc585ee
No related branches found
No related tags found
No related merge requests found
......@@ -2,10 +2,11 @@
conf_req_packages:
- ca-certificates
- git
- git-lfs
- openssh-client
conf_req_packages_online:
- git
conf_repo_url: https://mirismanager.ubicast.eu/git/mediaserver/envsetup.git
conf_repo_version: "{{ lookup('env', 'ENVSETUP_BRANCH') | d('stable', true) }}"
conf_repo_dest: /root/envsetup
......
......@@ -13,6 +13,13 @@
install_recommends: false
name: "{{ conf_req_packages }}"
- name: install online requirements
when: not offline_mode | d(false)
apt:
force_apt_get: true
install_recommends: false
name: "{{ conf_req_packages_online }}"
- name: clone envsetup repository
when: not offline_mode | d(false)
ignore_errors: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment