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
This commit is contained in:
William Valentin
2025-10-24 11:45:10 -07:00
commit 7bd5974ac4
14 changed files with 678 additions and 0 deletions

15
ansible/playbook.yml Normal file
View File

@@ -0,0 +1,15 @@
---
- 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