- 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
16 lines
317 B
YAML
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
|