|
|
|
@ -60,17 +60,17 @@
|
|
|
|
|
ansible.builtin.debug:
|
|
|
|
|
msg: >-
|
|
|
|
|
Couldn't find GIT on the local machine. Continuing without saving the GIT hash.
|
|
|
|
|
You can disable saving the GIT hash by setting 'git_save_hash: false' in vars.yml
|
|
|
|
|
You can disable saving the GIT hash by setting 'matrix_playbook_commit_hash_preservation_enabled: false' in vars.yml
|
|
|
|
|
when: "git_describe.stderr.find('not found') != -1"
|
|
|
|
|
|
|
|
|
|
- name: GIT hash error
|
|
|
|
|
ansible.builtin.fail:
|
|
|
|
|
msg: >-
|
|
|
|
|
Error when trying to get the GIT hash.
|
|
|
|
|
You can disable saving the GIT hash by setting 'git_save_hash: false' in vars.yml
|
|
|
|
|
You can disable saving the GIT hash by setting 'matrix_playbook_commit_hash_preservation_enabled: false' in vars.yml
|
|
|
|
|
when: "git_describe.stderr.find('not found') == -1"
|
|
|
|
|
|
|
|
|
|
when: "matrix_vars_yml_snapshotting_enabled|bool and git_save_hash|bool"
|
|
|
|
|
when: "matrix_vars_yml_snapshotting_enabled|bool and matrix_playbook_commit_hash_preservation_enabled|bool"
|
|
|
|
|
|
|
|
|
|
- name: Ensure Matrix network is created in Docker
|
|
|
|
|
community.docker.docker_network:
|
|
|
|
|