From fd8d523757d2ee4bb7af250080cd9a90cd7b64f2 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Sat, 22 Jan 2022 19:42:39 -0500 Subject: [PATCH] fix more roles... --- ansible/playbooks/role-infra-host.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ansible/playbooks/role-infra-host.yml b/ansible/playbooks/role-infra-host.yml index bad4e5b..41a3966 100644 --- a/ansible/playbooks/role-infra-host.yml +++ b/ansible/playbooks/role-infra-host.yml @@ -36,7 +36,10 @@ - name: Fix roles become: true ansible.builtin.shell: - cmd: grep -ril 'openstack.config_template.' /etc/ansible/roles/ | xargs sed -i.bak 's,openstack.config_template.,,g' + cmd: "{{ item }}" + with_items: + - grep -ril 'openstack.config_template.' /etc/ansible/roles/ | xargs sed -i.bak 's,openstack.config_template.,,g' + - grep -ril 'openstack.osa.provider_networks' /etc/ansible/roles/ | xargs sed -i.bak 's,openstack.osa.provider_networks,provider_networks,g' tags: - temporary - ansible