- hosts: all gather_facts: true tasks: - name: Include VSCode tasks ansible.builtin.import_tasks: tasks/vscode.yml when: hostname in ['mennos-laptop', 'mennos-desktop'] become: true - name: Include Rust tasks ansible.builtin.import_tasks: tasks/rust.yml become: true - name: Include Brave tasks ansible.builtin.import_tasks: tasks/brave.yml when: hostname in ['mennos-laptop', 'mennos-desktop'] become: true - name: Include 1Password tasks ansible.builtin.import_tasks: tasks/1password.yml when: hostname in ['mennos-laptop', 'mennos-desktop'] become: true - name: Include symlinks tasks ansible.builtin.import_tasks: tasks/symlinks.yml - name: Include flatpaks tasks ansible.builtin.import_tasks: tasks/flatpaks.yml when: hostname in ['mennos-laptop', 'mennos-desktop'] - name: Gather package facts ansible.builtin.package_facts: manager: auto become: true - name: Ensure common packages are installed ansible.builtin.package: name: - git - vim - pipx - trash-cli - curl - wget state: present become: true