xci: installer: osa: Fix status report when bootstrapping OSA 85/55685/1
authorMarkos Chandras <mchandras@suse.de>
Fri, 13 Apr 2018 15:09:22 +0000 (16:09 +0100)
committerMarkos Chandras <mchandras@suse.de>
Fri, 13 Apr 2018 15:09:22 +0000 (16:09 +0100)
Fixes the following ansible-lint warning

 [WARNING]: While constructing a mapping from /home/devuser/releng-
xci/xci/installer/osa/playbooks/configure-opnfvhost.yml, line 113,
column 7,
found a duplicate dict key (args). Using last defined value only.

We also remove the changed_when value since we now use 'args' to get
proper status report.

Change-Id: I382e3183b66e590462fbcb8663d53cade0e5d92c
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/installer/osa/playbooks/configure-opnfvhost.yml

index f12f831..82b14d1 100644 (file)
       args:
         creates: "/usr/local/bin/openstack-ansible"
 
-      changed_when: True
-      args:
-        chdir: "{{openstack_osa_path}}"
     - name: install opnfv pip required packages
       pip:
         name: "{{ item }}"