1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_install_firefox.git synced 2024-08-16 12:59:49 +02:00

add fallback mechanism

This commit is contained in:
L3D 2021-03-11 23:12:32 +01:00
parent 35b3b05b51
commit 650c1128d0
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 26 additions and 1 deletions

View file

@ -4,7 +4,7 @@
when: submodules_versioncheck|bool
- name: Include OS Specific vars
ansible.builtin.include_vars: "{{ ansible_distribution }}.yml"
ansible.builtin.include_vars: "{{ lookup('first_found', firefox_params) }}"
- name: Install firefox
become: true

18
vars/fallback.yml Normal file
View file

@ -0,0 +1,18 @@
---
firefox_package_name:
- firefox
firefox_plugins: []
# - browserpass-firefox
# - firefox-ublock-origin
# - firefox-umatrix
# - firefox-extension-https-everywhere
firefox_language: []
# - firefox-i18n-de
password_manager_packages: []
# - browserpass-firefox
# - pass
# - qtpass
# - pass-otp

View file

@ -1,3 +1,10 @@
---
playbook_version_number: 9003 # should be over ninethousand
playbook_version_path: 'role-firefox-installation_simple_chaos-bodensee_github.com.version'
firefox_params:
files:
"{{ ansible_distribution }}.yml"
'fallback.yml'
paths:
- 'vars'