Files
ansible_role_package/tasks/pkgs/starship.yml
2026-03-03 12:42:22 -07:00

14 lines
422 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Add starship
when:
- "'starship' not in __configured"
block:
- name: Append starship to pkg_cargo
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + [{'name': 'starship', 'locked': true}] }}"
- name: Finalize startship configuration
ansible.builtin.set_fact:
__configured: "{{ __configured | combine( { 'starship': true } ) }}"