---
layers:
- name: APP
layers:
- name: WLS
---
hosts: localhost
vars_files:
- vars.yml
tasks:
- name: Create sublinks based of bad.txt files
include_tasks: "{{ playbook_dir }}/inner.yml"
loop: "{{ layers }}"
loop_control:
loop_var: my_result
- name: Generate JSON data
block:
- file: path="{{ playbook_dir }}/dashboard/{{ my_result.name }} state=directory recurse=yes"
TASK [file] *************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "file (/tmp/dashboard/APP state=directory recurse=yes) is absent, cannot continue", "path": "/tmp/dashboard/APP state=directory recurse=yes"}
fatal: [localhost]: FAILED! => {"changed": false, "msg": "file (/tmp/dashboard/APP state=directory recurse=yes) is absent, cannot continue", "path": "/tmp/dashboard/APP state=directory recurse=yes"}
> To unsubscribe from this group and stop receiving emails from it, send an email to ansible...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/42e9abb0-78c1-4f0e-940a-a185f1a34ba6%40googlegroups.com.