Files
ansible_role_package/tasks/pkgs/starship.yml
2025-05-10 12:55:10 -06:00

17 lines
438 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