-- name: Setup Debain system - part 2
+- name: Setup Linux system - part 2
hosts: "{{ hosts | default('all') }}"
gather_facts: true
roles:
- - firewall
- - logcheck
- - role: remove-systemd
+ - role: debian/firewall
when: ansible_facts.os_family == 'Debian'
+ - role: redhat/firewall
+ when: ansible_facts.os_family == 'RedHat'
+ - logcheck
- root
- setup-usrlocal
- sshd