Fix empty setup.yaml - add playbook content
This commit is contained in:
16
setup.yaml
16
setup.yaml
@@ -0,0 +1,16 @@
|
||||
- hosts: localhost
|
||||
become: true
|
||||
|
||||
vars:
|
||||
username: "venkatn"
|
||||
userhome: "/home/{{ username }}"
|
||||
|
||||
tasks:
|
||||
- include_tasks: tasks/configure-software-manjaro.yaml
|
||||
when: ansible_facts["os_family"] == "Archlinux"
|
||||
- include_tasks: tasks/configure-software-ubuntu.yaml
|
||||
when: ansible_facts["os_family"] == "Debian"
|
||||
- include_tasks: tasks/configure-software-fedora.yaml
|
||||
when: ansible_facts["os_family"] == "RedHat"
|
||||
- include_tasks: tasks/configure-user.yaml
|
||||
- include_tasks: tasks/configure-i3.yaml
|
||||
|
||||
Reference in New Issue
Block a user