Files
ansible_role_package/tasks/pkgs/firefox.yml
2025-03-03 12:04:09 -07:00

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