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
ansible_role_install_firefox/tasks/main.yml
2021-03-11 23:12:32 +01:00

32 lines
873 B
YAML

---
- name: Perform optional versionscheck
ansible.builtin.include_tasks: versioncheck.yml
when: submodules_versioncheck|bool
- name: Include OS Specific vars
ansible.builtin.include_vars: "{{ lookup('first_found', firefox_params) }}"
- name: Install firefox
become: true
ansible.builtin.package:
name: "{{ firefox_package_name }}"
state: present
- name: Install firefox language german, if package available
become: true
ansible.builtin.package:
name: "{{ firefox_language }}"
state: present
- name: Install firefox plugins, if package available
become: true
ansible.builtin.package:
name: "{{ firefox_plugins }}"
state: present
- name: Install Password manager, if whished
become: true
ansible.builtin.package:
name: "{{ password_manager_packages }}"
state: present
when: install_pass_as_password_manager|bool