File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 1+ # Drop-in config for SSH that disables things we don't want.
2+
3+ # Already off by DO initial setup, but be explicit.
4+ PasswordAuthentication no
5+
6+ # Enabled by 50-redhat.conf, but we don't have any X programs.
7+ X11Forwarding no
Original file line number Diff line number Diff line change 5959 # Firewall setup
6060 # ##############
6161 - name : Setup firewall
62- tags : firewal
62+ tags : firewall
6363 block :
6464 - name : Enable firewall
6565 ansible.builtin.systemd :
6868 state : started
6969
7070 - name : Allow SSH on firewall
71+ tags : ssh
7172 ansible.posix.firewalld :
7273 service : ssh
7374 permanent : true
9192 offline : true
9293 state : enabled
9394
95+ # SSH configuration
96+ # #################
97+ - name : Configure SSH
98+ tags : ssh
99+ ansible.builtin.copy :
100+ src : sshd_config
101+ dest : /etc/ssh/sshd_config.d/99-matplotlib.conf
102+
94103 # fail2ban setup
95104 # ##############
96105 - name : Setup fail2ban
You can’t perform that action at this time.
0 commit comments