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
vars:
ansible_galaxy_bin: "{{ tenks_venv }}/bin/ansible-galaxy"
command: >-
{{ ansible_galaxy_bin }} install -r {{ tenks_src_dir }}/requirements.yml
-p {{ tenks_src_dir }}/ansible/roles
chdir: "{{ tenks_src_dir }}"
command:
cmd: >-
{{ ansible_galaxy_bin }} install -r {{ tenks_src_dir }}/requirements.yml
-p {{ tenks_src_dir }}/ansible/roles
chdir: "{{ tenks_src_dir }}"
- name: Ensure network bridge for physnet1 exists
command: "{{ item }}"