From 3e8fecd33e097edf1d8b3af77218eeeaec88ea31 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 27 Mar 2019 16:53:35 +0000 Subject: [PATCH] Fix Zuul galaxy install task ERROR! 'chdir' is not a valid attribute for a Task Change-Id: Ib53bdf4af3e401df40700ae6537697e77521f883 --- playbooks/tenks-deploy-teardown/pre.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/playbooks/tenks-deploy-teardown/pre.yml b/playbooks/tenks-deploy-teardown/pre.yml index f3debd3..2420835 100644 --- a/playbooks/tenks-deploy-teardown/pre.yml +++ b/playbooks/tenks-deploy-teardown/pre.yml @@ -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 }}"