Skip to content

Commit

Permalink
Use non-free layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Jun 3, 2021
1 parent a546066 commit 50b22af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions tasks/instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
mode: "0640"

- name: loop over config_files
ansible.builtin.include_tasks: config_file.yml
ansible.builtin.include_tasks:
file: config_file.yml
loop: "{{ instance.config_files }}"
loop_control:
loop_var: config_file
Expand All @@ -92,7 +93,8 @@
enabled: "{{ instance.service_enabled | default(tomcat_service_enabled) }}"

- name: loop over wars
ansible.builtin.include_tasks: war.yml
ansible.builtin.include_tasks:
file: war.yml
loop: "{{ instance.wars }}"
loop_control:
loop_var: war
Expand Down
3 changes: 2 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
delegate_to: localhost

- name: loop over tomcat_instances
ansible.builtin.include_tasks: instance.yml
ansible.builtin.include_tasks:
file: instance.yml
loop: "{{ tomcat_instances }}"
loop_control:
label: "{{ instance.name }}"
Expand Down

0 comments on commit 50b22af

Please sign in to comment.