Remove useless task

Setting permissions can be done directly by the file module
when state: directory.

Change-Id: I0567de464337f9a35c3c4cf0787973b14f878242
This commit is contained in:
Jean-Philippe Evrard 2018-03-26 09:02:13 +00:00
parent 6a661a52f5
commit 89c51fd2f0
1 changed files with 2 additions and 3 deletions

View File

@ -127,9 +127,8 @@
file:
state: directory
path: "{{ test_vm_logdir }}"
- name: Add read/execute perms for the whole directory path
shell: f="{{ test_vm_logdir }}" ; while [[ $f != "/" ]]; do chmod 0755 $f; f=$(dirname $f); done;
recurse: yes
mode: "0755"
- name: install virtualbmc
pip: