# 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 } ) }}"