]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Skip static IP setup in containers
authorZack Cerza <zack@redhat.com>
Thu, 27 Jan 2022 20:55:11 +0000 (13:55 -0700)
committerZack Cerza <zack@redhat.com>
Wed, 16 Mar 2022 21:51:09 +0000 (15:51 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
roles/testnode/tasks/apt_systems.yml

index cc759fd87b9921ae4a266bcc168ad83a0263229a..5d5b843f7b367337adc47a00a01d599d0c5f4244 100644 (file)
@@ -70,7 +70,9 @@
     append: yes
 
 - import_tasks: static_ip.yml
-  when: "'vps' not in group_names"
+  when:
+    - "'vps' not in group_names"
+    - not containerized_node
 
 - name: Stop apache2
   service: