Compare commits

..

No commits in common. "8654f769361308f8c380cd107ac961040ee369f1" and "4f62020d89990a6ff0b6ec67f986f613e77f308f" have entirely different histories.

1 changed files with 0 additions and 13 deletions

View File

@ -79,7 +79,6 @@
loop_control:
loop_var: outer_item
when: templates_Defined ==1 and outer_item.value.generic is not defined
register: fileChanged
tags: always
#Copy templates form a generic dir, allow ansible to search
@ -91,7 +90,6 @@
loop_control:
loop_var: outer_item
when: templates_Defined ==1 and outer_item.value.generic is defined
register: fileChanged
tags: always
- name: Append templated files to the mapping list
@ -133,7 +131,6 @@
loop_control:
loop_var: outer_item
when: files_Defined == 1 and outer_item.value.generic is not defined and outer_item.value.src_text is not defined
register: fileChanged
tags: always
#Copy files from a generic dir, allow ansible to search
- name: "Generic File mappings for {{ container_Name }}"
@ -144,7 +141,6 @@
loop_control:
loop_var: outer_item
when: files_Defined == 1 and outer_item.value.generic is defined and outer_item.value.src_text is not defined
register: fileChanged
tags: always
#Create files based on the suplied src_text param
- name: "Text based file creation for {{ container_Name }}"
@ -155,7 +151,6 @@
loop_control:
loop_var: outer_item
when: files_Defined == 1 and outer_item.value.src_text is defined
register: fileChanged
tags: always
- name: Append static remote files to the mapping list
@ -197,7 +192,6 @@
loop_control:
loop_var: outer_item
when: local_Defined == 1
register: fileChanged
tags: always
#----------------------------------/LOCAL----------------------------------
@ -214,15 +208,8 @@
tags: always
#----------------------------------/Check ENV----------------------------------
<<<<<<< HEAD
- name: Restart the container if fileChanged is defined
set_fact: item.value.restart='yes'
when: fileChanged is defined
=======
#TODO - If a confile file or volume is changed, trestart the container
>>>>>>> 4f62020d89990a6ff0b6ec67f986f613e77f308f
- name: "Container {{ container_Name }}"
become: yes