Install sudo on hosts using common.secure role

This commit is contained in:
Sangelo 2024-01-23 15:18:28 +01:00
parent be8e73dc5d
commit fe12200394

View file

@ -56,6 +56,12 @@
comment: 'Allow HTTP'
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
ansible.builtin.lineinfile:
path: /etc/ssh/sshd_config