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:
parent
35b3b05b51
commit
650c1128d0
3 changed files with 26 additions and 1 deletions
|
@ -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
18
vars/fallback.yml
Normal 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
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue