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

33 lines
873 B
YAML
Raw Normal View History

2019-04-25 09:27:30 +02:00
---
2021-03-11 23:00:50 +01:00
- name: Perform optional versionscheck
ansible.builtin.include_tasks: versioncheck.yml
when: submodules_versioncheck|bool
2019-04-25 09:27:30 +02:00
- name: Include OS Specific vars
2021-03-11 23:12:32 +01:00
ansible.builtin.include_vars: "{{ lookup('first_found', firefox_params) }}"
2019-04-25 09:27:30 +02:00
- name: Install firefox
become: true
2021-03-11 23:00:50 +01:00
ansible.builtin.package:
2019-04-25 09:27:30 +02:00
name: "{{ firefox_package_name }}"
state: present
- name: Install firefox language german, if package available
become: true
2021-03-11 23:00:50 +01:00
ansible.builtin.package:
2019-04-25 09:27:30 +02:00
name: "{{ firefox_language }}"
state: present
- name: Install firefox plugins, if package available
become: true
2021-03-11 23:00:50 +01:00
ansible.builtin.package:
2019-04-25 09:27:30 +02:00
name: "{{ firefox_plugins }}"
state: present
2019-04-25 10:08:32 +02:00
- name: Install Password manager, if whished
become: true
2021-03-11 23:00:50 +01:00
ansible.builtin.package:
2019-04-25 10:08:32 +02:00
name: "{{ password_manager_packages }}"
state: present
when: install_pass_as_password_manager|bool