From 183e49d25025c0fb618eaad85c027e82d596da16 Mon Sep 17 00:00:00 2001 From: Asma Syed Hameed Date: Mon, 18 May 2020 12:44:51 +0530 Subject: [PATCH] clean interfaces on undercloud hypervisor --- virtual_undercloud.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/virtual_undercloud.yml b/virtual_undercloud.yml index c4d67f98..f016995e 100644 --- a/virtual_undercloud.yml +++ b/virtual_undercloud.yml @@ -1,6 +1,11 @@ --- - hosts: undercloud_hypervisor tasks: + - name: Clean network interfaces + shell: | + /root/clean-interfaces.sh --nuke + changed_when: false + - name: check if ssh key exists stat: path: "{{ ansible_ssh_key }}"