# vim: set filetype=yaml.ansible : --- - name: Add httpie when: - httpie_configured is undefined block: - name: Load httpie config ansible.builtin.include_tasks: file: config/httpie.yml - name: Append httpie to pkg_flatpak when: - ansible_system == 'Linux' ansible.builtin.set_fact: pkg_flatpak: "{{ pkg_flatpak + [httpie.pkg] }}" - name: Append httpie to pkg_cask when: - ansible_os_family == 'Darwin' ansible.builtin.set_fact: pkg_cask: "{{ pkg_cask + [httpie.pkg] }}" - name: Set httpie_configured ansible.builtin.set_fact: httpie_configured: true