X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Finit-system2.yaml;fp=playbooks%2Finit-system2.yaml;h=40e9aefc164d3eb715b5e38ef4b3b24668187428;hb=3c5ede3e8a061c1817c429a5332dcf7bc76ec415;hp=0000000000000000000000000000000000000000;hpb=45ba3bdce32ecc6f9f0ac031ccb799ed3157d6f9;p=ansible.git diff --git a/playbooks/init-system2.yaml b/playbooks/init-system2.yaml new file mode 100644 index 0000000..40e9aef --- /dev/null +++ b/playbooks/init-system2.yaml @@ -0,0 +1,12 @@ +- name: Setup Linux system - part 2 + hosts: "{{ hosts | default('all') }}" + gather_facts: true + roles: + - role: debian/firewall + when: ansible_facts.os_family == 'Debian' + - role: redhat/firewall + when: ansible_facts.os_family == 'RedHat' + - logcheck + - root + - setup-usrlocal + - sshd