22 lines
531 B
YAML
22 lines
531 B
YAML
# vim: set filetype=yaml.ansible :
|
|
---
|
|
- name: Add firefox
|
|
when:
|
|
- firefox_configured is undefined
|
|
block:
|
|
- name: Append to pkgs
|
|
when:
|
|
- ansible_system == 'Linux'
|
|
ansible.builtin.set_fact:
|
|
pkg_sys: "{{ pkg_sys + ['firefox'] }}"
|
|
|
|
- name: Append to pkg_cask
|
|
when:
|
|
- ansible_system == 'Darwin'
|
|
ansible.builtin.set_fact:
|
|
pkg_cask: "{{ pkg_cask + ['firefox'] }}"
|
|
|
|
- name: Set firefox_configured
|
|
ansible.builtin.set_fact:
|
|
firefox_configured: true
|