Files
willlaptop/ansible/playbook.yml
William Valentin 7bd5974ac4 Add initial Ansible configuration and package management setup
- Create .gitignore to exclude .vscode directory
    - Add ansible.cfg for Ansible configuration
    - Define inventory for new machine
    - Create playbook.yml for orchestrating tasks
    - Set up common role with default variables, handlers, and tasks
    - Implement package management tasks for installing packages from various sources
    - Include appimage and flatpak package lists
2025-10-24 11:45:10 -07:00

16 lines
317 B
YAML

---
- hosts: new_machine
become: yes
vars:
# Define playbook-level variables here
ansible_user: ansible_user
pre_tasks:
- name: Display a message before roles run
debug:
msg: "Starting playbook for {{ ansible_user }} on {{ inventory_hostname }}"
roles:
- common
- packages