LXC: Drop openssh-server from just installed container

This commit is contained in:
David Prevot 2023-08-04 15:19:13 +02:00
parent a65230b5e0
commit d69259f2ca

View file

@ -70,3 +70,8 @@
remote_src: true
dest: "/var/lib/lxc/{{ name }}/rootfs/etc/profile.d/evolinux.sh"
mode: '0644'
- name: "Purge OpenSSH in container {{ name }}"
community.general.lxc_container:
name: "{{ name }}"
container_command: "DEBIAN_FRONTEND=noninteractive apt-get purge -y openssh-server"