18 lines
451 B
YAML
18 lines
451 B
YAML
---
|
|
- name: Install firefox (Archlinux)
|
|
become: true
|
|
community.general.pacman:
|
|
name:
|
|
- firefox
|
|
when: ansible_facts['distribution'] == 'Archlinux'
|
|
|
|
- name: Install firefox (Debian)
|
|
become: true
|
|
ansible.builtin.apt:
|
|
name:
|
|
- firefox-esr
|
|
when: ansible_facts['distribution'] == 'Debian'
|
|
|
|
- name: Open addon pages for installation
|
|
ansible.builtin.command: "firefox {{ lookup('file', 'addons.txt') }}"
|
|
changed_when: false
|