env-ansible/local.yml

19 lines
433 B
YAML

---
# Harmonize my systems rather than doing everything manually. :)
- hosts: localhost
connection: local
become: true
tasks:
- include: tasks/users.yml
- include: tasks/cron.yml
- include: tasks/packages.yml
when: ansible_distribution == "Ubuntu"
- include: tasks/flatpaks.yml
when: ansible_distribution == "Pop!_OS"
- hosts: workstation
become: true
tasks:
- include: tasks/flatpaks.yml