summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-02-07 13:33:54 +0100
committerjerome <jerome@xlinfo.fr>2025-02-07 13:33:54 +0100
commit757e14fee216a213714a6f0d36351b272a49adbb (patch)
treee0ebe4fb731ba0946facd07f89aaa3598deabf73
parent69b3a2cf08873de59883e3c2661ea1b57726eee3 (diff)
downloadterraform-ansible-757e14fee216a213714a6f0d36351b272a49adbb.tar.gz
terraform-ansible-757e14fee216a213714a6f0d36351b272a49adbb.zip
lxc_container state restarted
-rw-r--r--playbooks/hosts2
-rw-r--r--playbooks/lxc.yml4
2 files changed, 2 insertions, 4 deletions
diff --git a/playbooks/hosts b/playbooks/hosts
deleted file mode 100644
index c476980..0000000
--- a/playbooks/hosts
+++ /dev/null
@@ -1,2 +0,0 @@
-10.0.3.153
-10.0.3.68 \ No newline at end of file
diff --git a/playbooks/lxc.yml b/playbooks/lxc.yml
index 8c40007..79bb5b9 100644
--- a/playbooks/lxc.yml
+++ b/playbooks/lxc.yml
@@ -20,7 +20,7 @@
name: rocky-lxc
template: download
template_options: --dist rockylinux --release 9 --arch amd64
- state: started
+ state: restarted
container_command: |
sleep 5
dnf install -y openssh-server python3
@@ -32,7 +32,7 @@
name: debian-lxc
template: download
template_options: --dist debian --release bookworm --arch amd64
- state: started
+ state: restarted
container_command: |
sleep 5
apt install -y openssh-server python3