Compare commits
No commits in common. "8654f769361308f8c380cd107ac961040ee369f1" and "4f62020d89990a6ff0b6ec67f986f613e77f308f" have entirely different histories.
8654f76936
...
4f62020d89
|
@ -79,7 +79,6 @@
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: outer_item
|
loop_var: outer_item
|
||||||
when: templates_Defined ==1 and outer_item.value.generic is not defined
|
when: templates_Defined ==1 and outer_item.value.generic is not defined
|
||||||
register: fileChanged
|
|
||||||
tags: always
|
tags: always
|
||||||
|
|
||||||
#Copy templates form a generic dir, allow ansible to search
|
#Copy templates form a generic dir, allow ansible to search
|
||||||
|
@ -91,7 +90,6 @@
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: outer_item
|
loop_var: outer_item
|
||||||
when: templates_Defined ==1 and outer_item.value.generic is defined
|
when: templates_Defined ==1 and outer_item.value.generic is defined
|
||||||
register: fileChanged
|
|
||||||
tags: always
|
tags: always
|
||||||
|
|
||||||
- name: Append templated files to the mapping list
|
- name: Append templated files to the mapping list
|
||||||
|
@ -133,7 +131,6 @@
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: outer_item
|
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
|
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
|
tags: always
|
||||||
#Copy files from a generic dir, allow ansible to search
|
#Copy files from a generic dir, allow ansible to search
|
||||||
- name: "Generic File mappings for {{ container_Name }}"
|
- name: "Generic File mappings for {{ container_Name }}"
|
||||||
|
@ -144,7 +141,6 @@
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: outer_item
|
loop_var: outer_item
|
||||||
when: files_Defined == 1 and outer_item.value.generic is defined and outer_item.value.src_text is not defined
|
when: files_Defined == 1 and outer_item.value.generic is defined and outer_item.value.src_text is not defined
|
||||||
register: fileChanged
|
|
||||||
tags: always
|
tags: always
|
||||||
#Create files based on the suplied src_text param
|
#Create files based on the suplied src_text param
|
||||||
- name: "Text based file creation for {{ container_Name }}"
|
- name: "Text based file creation for {{ container_Name }}"
|
||||||
|
@ -155,7 +151,6 @@
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: outer_item
|
loop_var: outer_item
|
||||||
when: files_Defined == 1 and outer_item.value.src_text is defined
|
when: files_Defined == 1 and outer_item.value.src_text is defined
|
||||||
register: fileChanged
|
|
||||||
tags: always
|
tags: always
|
||||||
|
|
||||||
- name: Append static remote files to the mapping list
|
- name: Append static remote files to the mapping list
|
||||||
|
@ -197,7 +192,6 @@
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: outer_item
|
loop_var: outer_item
|
||||||
when: local_Defined == 1
|
when: local_Defined == 1
|
||||||
register: fileChanged
|
|
||||||
tags: always
|
tags: always
|
||||||
#----------------------------------/LOCAL----------------------------------
|
#----------------------------------/LOCAL----------------------------------
|
||||||
|
|
||||||
|
@ -214,15 +208,8 @@
|
||||||
tags: always
|
tags: always
|
||||||
#----------------------------------/Check ENV----------------------------------
|
#----------------------------------/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
|
#TODO - If a confile file or volume is changed, trestart the container
|
||||||
>>>>>>> 4f62020d89990a6ff0b6ec67f986f613e77f308f
|
|
||||||
|
|
||||||
- name: "Container {{ container_Name }}"
|
- name: "Container {{ container_Name }}"
|
||||||
become: yes
|
become: yes
|
||||||
|
|
Loading…
Reference in New Issue