system/tasks/main.yml
vincent 8810afe667
All checks were successful
continuous-integration/drone/push Build is passing
ansible lint fix
2022-10-09 19:47:44 +02:00

29 lines
952 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: firewalld.yml
when: ansible_facts['os_family'] == "RedHat"
- 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