- name: Gather os specific variables ansible.builtin.include_vars: "{{ item }}" with_first_found: - "{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml" - "{{ ansible_os_family }}.yml" tags: vars - name: Include hostname ansible.builtin.include_tasks: hostname.yml - name: Include hosts ansible.builtin.include_tasks: hosts.yml - name: Include tasks.sysctl ansible.builtin.include_tasks: tasks.sysctl.yml - name: Include wol ansible.builtin.include_tasks: wol.yml - name: Include dhcpcd ansible.builtin.include_tasks: dhcpcd.yml when: ansible_os_family == "Archlinux" - name: Include locales ansible.builtin.include_tasks: locales.yml when: ansible_os_family == "Archlinux" - name: Include time ansible.builtin.include_tasks: time.yml - name: Include usergroup ansible.builtin.include_tasks: usergroup.yml - name: Include ssh ansible.builtin.include_tasks: ssh.yml - name: Include sudoers ansible.builtin.include_tasks: sudoers.yml - name: Include pacman ansible.builtin.include_tasks: pacman.yml when: ansible_facts['os_family'] == "Archlinux" - name: Include firewalld ansible.builtin.include_tasks: firewalld.yml when: ansible_facts['os_family'] == "RedHat" - name: Include depot_debian ansible.builtin.include_tasks: depot_debian.yml when: ansible_facts['os_family'] == "Debian" - name: Inclide depot_redhat ansible.builtin.include_tasks: depot_redhat.yml when: ansible_os_family == "RedHat" - name: Include AUR_builder ansible.builtin.include_tasks: AUR_builder.yml when: ansible_facts['os_family'] == "Archlinux" - name: Include base_software ansible.builtin.include_tasks: base_software.yml - name: Include bat ansible.builtin.include_tasks: bat.yml when: ansible_facts['os_family'] == "Debian"