mirror of
https://github.com/roles-ansible/ansible_role_base.git
synced 2024-08-16 14:29:50 +02:00
update and improve meta data
This commit is contained in:
parent
bc47437d98
commit
85c83989d3
3 changed files with 5 additions and 7 deletions
|
@ -4,7 +4,7 @@ galaxy_info:
|
|||
description: Ansible role to install some base packages and make some base configuration on all common linux systems
|
||||
role_name: base
|
||||
license: MIT
|
||||
min_ansible_version: 2.8
|
||||
min_ansible_version: 2.11
|
||||
github_branch: master
|
||||
platforms:
|
||||
- name: Archlinux
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -61,5 +61,5 @@ base__linux_packages:
|
|||
- bzip2
|
||||
- jq
|
||||
|
||||
playbook_version_number: 9010
|
||||
playbook_version_number: 9011
|
||||
playbook_version_path: 'base-packages_roles-ansible_github.version'
|
||||
|
|
Loading…
Reference in a new issue