system/tasks/main.yml

29 lines
952 B
YAML
Raw Normal View History

2022-05-29 16:39:41 +00:00
- name: gather os specific variables
include_vars: "{{ item }}"
with_first_found:
2022-10-09 17:47:44 +00:00
- "{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml"
2022-05-29 16:39:41 +00:00
- "{{ ansible_os_family }}.yml"
tags: vars
2022-02-13 08:40:15 +00:00
- include_tasks: hostname.yml
2021-07-18 09:39:52 +00:00
- include_tasks: hosts.yml
2022-02-13 08:01:05 +00:00
- include_tasks: tasks.sysctl.yml
2021-11-14 16:13:49 +00:00
- include_tasks: dhcpcd.yml
2022-05-29 16:39:41 +00:00
when: ansible_os_family == "Archlinux"
2018-12-02 20:03:03 +00:00
- include_tasks: locales.yml
2022-05-29 16:39:41 +00:00
when: ansible_os_family == "Archlinux"
2018-12-02 20:03:03 +00:00
- include_tasks: time.yml
2021-02-24 21:40:34 +00:00
- include_tasks: usergroup.yml
2021-11-17 16:24:38 +00:00
- include_tasks: ssh.yml
2019-01-08 21:04:00 +00:00
- include_tasks: pacman.yml
2021-11-17 16:24:38 +00:00
when: ansible_facts['os_family'] == "Archlinux"
2022-06-06 16:22:14 +00:00
- include_tasks: firewalld.yml
when: ansible_facts['os_family'] == "RedHat"
2019-09-18 21:14:11 +00:00
- include_tasks: depot_debian.yml
2021-11-17 16:24:38 +00:00
when: ansible_facts['os_family'] == "Debian"
2022-05-29 16:39:41 +00:00
- include_tasks: depot_redhat.yml
when: ansible_os_family == "RedHat"
- include_tasks: AUR_builder.yml
2021-11-17 16:24:38 +00:00
when: ansible_facts['os_family'] == "Archlinux"
2021-02-24 21:40:34 +00:00
- include_tasks: base_software.yml