Skip to content
Snippets Groups Projects
Commit a308a2c4 authored by zhuzeyu's avatar zhuzeyu
Browse files

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
parent 23f32c00
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
&& source /opt/stack/ansible/hacking/env-setup && && source /opt/stack/ansible/hacking/env-setup &&
export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml && export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml &&
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/bifrost_inventory.py 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" /bifrost/playbooks/enroll-dynamic.yaml -e @/etc/bifrost/bifrost.yml'
-e @/etc/bifrost/bifrost.yml'
- name: Deploy physical servers with ironic - name: Deploy physical servers with ironic
command: > command: >
...@@ -16,5 +15,4 @@ ...@@ -16,5 +15,4 @@
&& source /opt/stack/ansible/hacking/env-setup && && source /opt/stack/ansible/hacking/env-setup &&
export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml && export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml &&
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/bifrost_inventory.py 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" /bifrost/playbooks/deploy-dynamic.yaml -e @/etc/bifrost/bifrost.yml'
-e @/etc/bifrost/bifrost.yml'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment