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:
15
ansible/playbook.yml
Normal file
15
ansible/playbook.yml
Normal 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
|
||||
Reference in New Issue
Block a user