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
9184f49874
commit
58404698ef
2 changed files with 4 additions and 6 deletions
|
@ -1,4 +1,7 @@
|
|||
---
|
||||
# Copyright (c) 2021 L3D <l3d@c3woc.de>
|
||||
# this file is released with the MIT license.
|
||||
# License: https://github.com/roles-ansible/ansible_role_template/blob/main/LICENSE
|
||||
- name: Create directory for versionscheck
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
|
@ -32,11 +35,6 @@
|
|||
when:
|
||||
- playbook_version.content|default("Mgo=")|b64decode|int - 1 >= playbook_version_number|int and submodules_versioncheck|bool
|
||||
|
||||
- name: check if '/etc/ansible-version/' is empty
|
||||
ansible.builtin.find:
|
||||
paths: '/etc/ansible-version/'
|
||||
register: filesFound
|
||||
|
||||
- name: write new version to remote disk
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
playbook_version_number: 2051 # should be int
|
||||
playbook_version_number: 2052
|
||||
playbook_version_path: 'role-ntp_chaos-bodensee_github.com.version'
|
||||
|
||||
ntp__vars:
|
||||
|
|
Loading…
Reference in a new issue