27 lines
873 B
YAML
27 lines
873 B
YAML
- name: gather os specific variables
|
|
include_vars: "{{ item }}"
|
|
with_first_found:
|
|
- "{{ ansible_os_family }}-{{ ansible_distribution_major_version}}.yml"
|
|
- "{{ ansible_os_family }}.yml"
|
|
tags: vars
|
|
|
|
- include_tasks: hostname.yml
|
|
- include_tasks: hosts.yml
|
|
- include_tasks: tasks.sysctl.yml
|
|
- include_tasks: dhcpcd.yml
|
|
when: ansible_os_family == "Archlinux"
|
|
- include_tasks: locales.yml
|
|
when: ansible_os_family == "Archlinux"
|
|
- include_tasks: time.yml
|
|
- include_tasks: usergroup.yml
|
|
- include_tasks: ssh.yml
|
|
- include_tasks: pacman.yml
|
|
when: ansible_facts['os_family'] == "Archlinux"
|
|
- include_tasks: depot_debian.yml
|
|
when: ansible_facts['os_family'] == "Debian"
|
|
- include_tasks: depot_redhat.yml
|
|
when: ansible_os_family == "RedHat"
|
|
- include_tasks: AUR_builder.yml
|
|
when: ansible_facts['os_family'] == "Archlinux"
|
|
- include_tasks: base_software.yml
|