mirror of
https://github.com/roles-ansible/ansible_role_packages.git
synced 2024-08-16 10:19:51 +02:00
Fixing some linting errors
This commit is contained in:
parent
f0544c7797
commit
c0a86264bf
1 changed files with 2 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
||||||
become: true
|
become: true
|
||||||
slurp:
|
slurp:
|
||||||
src: "{{ playbook_version_path }}"
|
src: "{{ playbook_version_path }}"
|
||||||
register: playbook_version
|
register: playbook_version
|
||||||
when: submodules_versioncheck|bool
|
when: submodules_versioncheck|bool
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
fail:
|
fail:
|
||||||
msg: "Your current ansible module has the version '{{ playbook_version_number }}' and is outdated. Please update it at least to version '{{ playbook_version.content | default('Y3VycmVudGx5IG5vdCBkZXBsb3llZAo=') | b64decode }}'!"
|
msg: "Your current ansible module has the version '{{ playbook_version_number }}' and is outdated. Please update it at least to version '{{ playbook_version.content | default('Y3VycmVudGx5IG5vdCBkZXBsb3llZAo=') | b64decode }}'!"
|
||||||
when:
|
when:
|
||||||
- playbook_version.content|default("Mgo=")|b64decode|int - 1 >= playbook_version_number|int and submodules_versioncheck
|
- playbook_version.content|default("Mgo=")|b64decode|int - 1 >= playbook_version_number|int and submodules_versioncheck
|
||||||
|
|
||||||
- name: write new version to remote disk
|
- name: write new version to remote disk
|
||||||
become: true
|
become: true
|
||||||
|
@ -88,7 +88,6 @@
|
||||||
state: present
|
state: present
|
||||||
when:
|
when:
|
||||||
- packages_extra is defined
|
- packages_extra is defined
|
||||||
- packages_extra != ""
|
|
||||||
- packages_extra != '[]'
|
- packages_extra != '[]'
|
||||||
|
|
||||||
- name: Remove rpcbind, nfs-common
|
- name: Remove rpcbind, nfs-common
|
||||||
|
|
Loading…
Reference in a new issue