X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Finit-system2.yml;h=e4449ebda85eebe9f1ceb6f700b66a455e2ec3ee;hb=9258848a6ab86194b049a704403f469a7ad61ee4;hp=662560c396f33aa38ba6e488e39409a524f8ce5d;hpb=482945fb1e7eadcdaf76fcbcf17b440677225f4f;p=ansible.git diff --git a/playbooks/init-system2.yml b/playbooks/init-system2.yml index 662560c..e4449eb 100644 --- a/playbooks/init-system2.yml +++ b/playbooks/init-system2.yml @@ -1,11 +1,12 @@ -- 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 + - debian/firewall when: ansible_facts.os_family == 'Debian' + - redhat/firewall + when: ansible_facts.os_family == 'RedHat' + - logcheck - root - setup-usrlocal - sshd