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:
parent
c6335cc479
commit
fcd83491f8
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
register: playbook_version
|
||||
when: submodules_versioncheck|bool
|
||||
ignore_errors: yes
|
||||
failed_when: false
|
||||
|
||||
- name: Print remote role version
|
||||
debug:
|
||||
|
@ -41,4 +42,5 @@
|
|||
copy:
|
||||
content: "{{ playbook_version_number }}"
|
||||
dest: "/etc/.ansible-version/{{ playbook_version_path }}"
|
||||
mode: 0644
|
||||
when: submodules_versioncheck|bool
|
||||
|
|
Loading…
Reference in a new issue