Files
ansible_role_package/tasks/pkgs/starship.yml
2025-03-25 13:49:53 -06:00

17 lines
432 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Add starship
when:
- starship_configured is undefined
block:
- name: Append starship to pkg_cargo
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + [{'name': 'starship', 'locked': true}] }}"
- name: Set starship_configured
ansible.builtin.set_fact:
starship_configured: true