X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Finit-system2.yml;h=40e9aefc164d3eb715b5e38ef4b3b24668187428;hb=5f1d35a38ad720f8ac03969bd7fa6b05effa79d6;hp=662560c396f33aa38ba6e488e39409a524f8ce5d;hpb=482945fb1e7eadcdaf76fcbcf17b440677225f4f;p=ansible.git diff --git a/playbooks/init-system2.yml b/playbooks/init-system2.yml index 662560c..40e9aef 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 + - role: debian/firewall when: ansible_facts.os_family == 'Debian' + - role: redhat/firewall + when: ansible_facts.os_family == 'RedHat' + - logcheck - root - setup-usrlocal - sshd