From a308a2c4092ae2fb055f77a67ae025e876e0b5df Mon Sep 17 00:00:00 2001 From: zhuzeyu Date: Wed, 22 Mar 2017 16:43:01 +0800 Subject: [PATCH] Remove the variable redefined in deploy-servers.yml The 'ansible_python_interpreter' has already defined in /etc/bifrost/bifrost.yml we should remove the redundant variable Change-Id: Ie799170d3318a731d31e1f39bcf940a1b220bd53 --- ansible/roles/bifrost/tasks/deploy-servers.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ansible/roles/bifrost/tasks/deploy-servers.yml b/ansible/roles/bifrost/tasks/deploy-servers.yml index e8d98abda8..0fbdd1d9ea 100644 --- a/ansible/roles/bifrost/tasks/deploy-servers.yml +++ b/ansible/roles/bifrost/tasks/deploy-servers.yml @@ -6,8 +6,7 @@ && source /opt/stack/ansible/hacking/env-setup && export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml && ansible-playbook -vvvv -i /bifrost/playbooks/inventory/bifrost_inventory.py - /bifrost/playbooks/enroll-dynamic.yaml -e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python" - -e @/etc/bifrost/bifrost.yml' + /bifrost/playbooks/enroll-dynamic.yaml -e @/etc/bifrost/bifrost.yml' - name: Deploy physical servers with ironic command: > @@ -16,5 +15,4 @@ && source /opt/stack/ansible/hacking/env-setup && export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml && ansible-playbook -vvvv -i /bifrost/playbooks/inventory/bifrost_inventory.py - /bifrost/playbooks/deploy-dynamic.yaml -e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python" - -e @/etc/bifrost/bifrost.yml' + /bifrost/playbooks/deploy-dynamic.yaml -e @/etc/bifrost/bifrost.yml'