17 lines
537 B
YAML
17 lines
537 B
YAML
- 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
|