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

17 lines
394 B
YAML

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