LXC: Drop openssh-server from just installed container
This commit is contained in:
parent
a65230b5e0
commit
d69259f2ca
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue