diff --git a/tasks/main.yml b/tasks/main.yml index bc09dbe..0ea3348 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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 diff --git a/vars/fallback.yml b/vars/fallback.yml new file mode 100644 index 0000000..06714ca --- /dev/null +++ b/vars/fallback.yml @@ -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 diff --git a/vars/main.yml b/vars/main.yml index dd9836a..a73c224 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -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'