summaryrefslogtreecommitdiff
path: root/playbooks/lxc.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/lxc.yml')
-rw-r--r--playbooks/lxc.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/lxc.yml b/playbooks/lxc.yml
index 666cfb3..18a682e 100644
--- a/playbooks/lxc.yml
+++ b/playbooks/lxc.yml
@@ -22,7 +22,7 @@
template_options: --dist rockylinux --release 9 --arch amd64
state: started
container_command: |
- sleep 5
+ dnf check-update
dnf install -y openssh-server python3
systemctl enable --now sshd
@@ -34,7 +34,7 @@
template_options: --dist debian --release bookworm --arch amd64
state: started
container_command: |
- sleep 5
+ apt update
apt install -y openssh-server python3
systemctl enable --now ssh