Files
ansible_role_package/tasks/pkgs/choose.yml
Matthew Stobbs 132d3c18f2 fix typo
2025-03-08 20:32:36 -07:00

25 lines
598 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Add choose
when:
- choose_configured is undefined
block:
- name: Load choose config
ansible.builtin.include_tasks:
file: config/choose.yml
- name: Append to cargopkgs
when:
- ansible_system == 'Linux'
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + [choose] }}"
- name: Append to pkg_sys
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['choose-rust'] }}"