added cleanup task to some states
This commit is contained in:
parent
286cfa2ab0
commit
37f967003f
@ -14,3 +14,9 @@ coronafana-binary-symlink:
|
||||
- target: {{ coronafana.release_dir }}/coronafana-{{ coronafana.version }}
|
||||
- require:
|
||||
- archive: coronafana-archive-extract
|
||||
|
||||
coronafana-cleanup:
|
||||
software.cleanup:
|
||||
- name: coronafana
|
||||
- path: {{ coronafana.release_dir }}
|
||||
- version: "{{ coronafana.version }}"
|
||||
|
@ -17,4 +17,10 @@ dip-binary-symlink:
|
||||
- require:
|
||||
- archive: dip-archive-extract
|
||||
- watch_in:
|
||||
- service: dip-service
|
||||
- service: dip-service
|
||||
|
||||
dip-cleanup:
|
||||
software.cleanup:
|
||||
- name: dip
|
||||
- path: {{ dip.release_dir }}
|
||||
- version: "{{ dip.version }}"
|
@ -14,3 +14,9 @@ fuelprices-binary-symlink:
|
||||
- target: {{ fuelprices.release_dir }}/fuelprices-{{ fuelprices.version }}
|
||||
- require:
|
||||
- archive: fuelprices-archive-extract
|
||||
|
||||
fuelprices-cleanup:
|
||||
software.cleanup:
|
||||
- name: fuelprices
|
||||
- path: {{ fuelprices.release_dir }}
|
||||
- version: "{{ fuelprices.version }}"
|
||||
|
@ -13,4 +13,10 @@ weather-binary-symlink:
|
||||
- name: {{ weather.install_dir }}/weather
|
||||
- target: {{ weather.release_dir }}/weather-{{ weather.version }}
|
||||
- require:
|
||||
- archive: weather-archive-extract
|
||||
- archive: weather-archive-extract
|
||||
|
||||
weather-cleanup:
|
||||
software.cleanup:
|
||||
- name: weather
|
||||
- path: {{ weather.release_dir }}
|
||||
- version: "{{ weather.version }}"
|
Loading…
Reference in New Issue
Block a user