1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ntp.git synced 2024-08-16 12:59:49 +02:00

update versionscheck

This commit is contained in:
L3D 2020-09-18 17:12:42 +02:00 committed by L3D
parent c6335cc479
commit fcd83491f8
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B

View file

@ -14,6 +14,7 @@
register: playbook_version register: playbook_version
when: submodules_versioncheck|bool when: submodules_versioncheck|bool
ignore_errors: yes ignore_errors: yes
failed_when: false
- name: Print remote role version - name: Print remote role version
debug: debug:
@ -41,4 +42,5 @@
copy: copy:
content: "{{ playbook_version_number }}" content: "{{ playbook_version_number }}"
dest: "/etc/.ansible-version/{{ playbook_version_path }}" dest: "/etc/.ansible-version/{{ playbook_version_path }}"
mode: 0644
when: submodules_versioncheck|bool when: submodules_versioncheck|bool