Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #38 in ISAR/ansible-tomcat from bugfix/restart-tom…
Browse files Browse the repository at this point in the history
…cat to next

* commit 'dd49b546fbace23639de8270a76a8dc8cdbdd6bf':
  fix set() error
  • Loading branch information
Anja Siek committed Apr 17, 2018
2 parents 13cd3c6 + dd49b54 commit 840f1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
tags: tomcat
when: tomcat_fact_is_not_initial_check_mode
set_fact:
tomcat_facts_requires_restart: "{{ tomcat_registered_instances_requiring_restart.results|map(attribute='ansible_facts.tomcat_fact_requires_restart_item')|list|unique|difference(['None']) }}"
tomcat_facts_requires_restart: "{{ tomcat_registered_instances_requiring_restart.results|map(attribute='ansible_facts.tomcat_fact_requires_restart_item')|list|unique|difference(['None'])|list }}"

# We can now safely notify the service restart handler which in turn just loops
# over all items in the resulting list 'tomcat_facts_requires_restart'.
Expand Down

0 comments on commit 840f1f5

Please sign in to comment.