mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 12:35:51 +00:00
Save git_hash.yml only on the target
This commit is contained in:
parent
678dfc6dc3
commit
230eea6784
@ -40,16 +40,9 @@
|
|||||||
debug:
|
debug:
|
||||||
msg: "Git hash: {{ git_hash }}"
|
msg: "Git hash: {{ git_hash }}"
|
||||||
|
|
||||||
- name: Save git hash in git_hash.yml
|
- name: Save git_hash.yml on target
|
||||||
become: false
|
|
||||||
local_action:
|
|
||||||
copy
|
|
||||||
content="git_hash_last_run{{ ":" }} {{ git_hash }}\n"
|
|
||||||
dest="{{ matrix_vars_yml_snapshotting_src }}/git_hash.yml"
|
|
||||||
|
|
||||||
- name: Copy git_hash.yml file to target
|
|
||||||
copy:
|
copy:
|
||||||
src: "{{ matrix_vars_yml_snapshotting_src }}/git_hash.yml"
|
content: "{{ git_hash }}"
|
||||||
dest: "{{ matrix_base_data_path }}/git_hash.yml"
|
dest: "{{ matrix_base_data_path }}/git_hash.yml"
|
||||||
owner: "{{ matrix_user_username }}"
|
owner: "{{ matrix_user_username }}"
|
||||||
group: "{{ matrix_user_groupname }}"
|
group: "{{ matrix_user_groupname }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user