# vim: set filetype=yaml.ansible : --- - name: Add pyright when: - pyright_configured is undefined block: - name: Append pyright to pkg_pipx ansible.builtin.set_fact: pkg_pipx: "{{ pkg_pipx + ['pyright'] }}" - name: Set pyright_configured ansible.builtin.set_fact: pyright_configured: true