33 lines
662 B
YAML
33 lines
662 B
YAML
- name: Nodes initialisieren und härten
|
|
hosts: all
|
|
become: true
|
|
|
|
roles:
|
|
- role: common
|
|
tags: common
|
|
- role: ssh_hardening
|
|
tags: ssh
|
|
- role: ufw_firewall
|
|
tags: firewall
|
|
- role: fail2ban
|
|
tags: fail2ban
|
|
handlers:
|
|
- name: restart sshd
|
|
ansible.builtin.service:
|
|
name: ssh
|
|
state: restarted
|
|
- name: restart fail2ban
|
|
ansible.builtin.service:
|
|
name: fail2ban
|
|
state: restarted
|
|
- name: Setup Ceph Cluster and CephFS
|
|
hosts: all
|
|
become: true
|
|
roles:
|
|
- role: ceph_setup
|
|
|
|
- name: Docker Swarm initialisieren
|
|
hosts: all
|
|
become: true
|
|
roles:
|
|
- role: docker_swarm |