Patches to generator to better align with modules

This commit is contained in:
AlanCoding
2020-03-11 11:39:27 -04:00
committed by beeankha
parent 97c169780d
commit 2b5ff9a6f9
3 changed files with 8 additions and 21 deletions

View File

@@ -57,7 +57,7 @@
- name: Process endpoint
template:
src: "templates/tower_module.j2"
dest: "modules/{{ file_name }}"
dest: "{{ playbook_dir | dirname }}/plugins/modules/{{ file_name }}"
loop: "{{ end_point_options['results'] }}"
loop_control:
label: "{{ item['item']['key'] }}"