aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2024-08-05 15:08:33 -0400
committerspmfox <spmfox@foxwd.com>2024-08-05 15:08:33 -0400
commit4aa6b11581718f66e711bf26fbb41e96fa3a4661 (patch)
tree6960601f873a2ada5a749810afcb04b322e196d4
parent5049cacdf5d6f25f4b77d774675c03f132a78838 (diff)
adding pod networkrunlabels
-rw-r--r--containers.yml1
-rw-r--r--docs/sample-environment/wordpress.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/containers.yml b/containers.yml
index 6e23e8a..ab61772 100644
--- a/containers.yml
+++ b/containers.yml
@@ -76,6 +76,7 @@
containers.podman.podman_pod:
name: "{{ pod.name }}"
ports: "{{ pod.ports }}"
+ network: "{{ pod.network | default(omit) }}"
state: started
tags: container-start
when: pod is defined
diff --git a/docs/sample-environment/wordpress.yml b/docs/sample-environment/wordpress.yml
index fd933a3..6f16f9d 100644
--- a/docs/sample-environment/wordpress.yml
+++ b/docs/sample-environment/wordpress.yml
@@ -2,6 +2,7 @@ pod:
name: wordpress
ports:
- "8080:80"
+# network:
containers:
- name: wordpress-db