Fix Zuul galaxy install task

ERROR! 'chdir' is not a valid attribute for a Task

Change-Id: Ib53bdf4af3e401df40700ae6537697e77521f883
This commit is contained in:
Mark Goddard 2019-03-27 16:53:35 +00:00
parent b4bddc2b54
commit 3e8fecd33e

View File

@ -27,10 +27,11 @@
- name: Install Ansible Galaxy dependencies - name: Install Ansible Galaxy dependencies
vars: vars:
ansible_galaxy_bin: "{{ tenks_venv }}/bin/ansible-galaxy" ansible_galaxy_bin: "{{ tenks_venv }}/bin/ansible-galaxy"
command: >- command:
{{ ansible_galaxy_bin }} install -r {{ tenks_src_dir }}/requirements.yml cmd: >-
-p {{ tenks_src_dir }}/ansible/roles {{ ansible_galaxy_bin }} install -r {{ tenks_src_dir }}/requirements.yml
chdir: "{{ tenks_src_dir }}" -p {{ tenks_src_dir }}/ansible/roles
chdir: "{{ tenks_src_dir }}"
- name: Ensure network bridge for physnet1 exists - name: Ensure network bridge for physnet1 exists
command: "{{ item }}" command: "{{ item }}"