Compare commits
2 commits
a2ca80c964
...
d47e519aa4
Author | SHA1 | Date | |
---|---|---|---|
d47e519aa4 | |||
fe12200394 |
1 changed files with 6 additions and 0 deletions
|
@ -56,6 +56,12 @@
|
||||||
comment: 'Allow HTTP'
|
comment: 'Allow HTTP'
|
||||||
when: common_firewall_http and common_firewall_enable
|
when: common_firewall_http and common_firewall_enable
|
||||||
|
|
||||||
|
- name: Install sudo
|
||||||
|
ansible.builtin.apt:
|
||||||
|
pkg: sudo
|
||||||
|
update_cache: true
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Configure SSH to disallow passwords
|
- name: Configure SSH to disallow passwords
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/ssh/sshd_config
|
path: /etc/ssh/sshd_config
|
||||||
|
|
Loading…
Reference in a new issue