X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=playbooks%2Finit-system2.yml;h=40e9aefc164d3eb715b5e38ef4b3b24668187428;hb=bd1e0da6f5f015fb401eb6e4887fa77bd6abea27;hp=15813cef744452e940c1833f2e664ff385f154b0;hpb=a778cfdeb617354b2c238aa2b7579b84ebed5a29;p=ansible.git diff --git a/playbooks/init-system2.yml b/playbooks/init-system2.yml index 15813ce..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: - - setup-usrlocal - - role: remove-systemd + - role: debian/firewall when: ansible_facts.os_family == 'Debian' - - root - - firewall + - role: redhat/firewall + when: ansible_facts.os_family == 'RedHat' - logcheck + - root + - setup-usrlocal - sshd