1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_etesync_dav.git synced 2024-08-16 10:09:54 +02:00

improve linting

This commit is contained in:
L3D 2023-10-28 18:02:36 +02:00
parent c468efcb23
commit 0501573ba0
No known key found for this signature in database
GPG key ID: AD65B920933B4B20
6 changed files with 15 additions and 12 deletions

View file

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'checkout git repo'
- name: Checkout git repo
uses: actions/checkout@v4
with:
submodules: true

View file

@ -8,7 +8,7 @@ on:
jobs:
build:
name: Jinja2 Linting
name: Galaxy Role Importer
runs-on: ubuntu-latest
steps:

View file

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'checkout git repo'
- name: Checkout git repo
uses: actions/checkout@v4
with:
submodules: true

View file

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'checkout git repo'
- name: Checkout git repo
uses: actions/checkout@v4
with:
submodules: true

View file

@ -1,13 +1,17 @@
---
- name: Run optional versionscheck
ansible.builtin.include_tasks: versioncheck.yml
ansible.builtin.include_tasks:
file: versioncheck.yml
when: submodules_versioncheck | bool
- name: Get Version of etesync-dav
ansible.builtin.include_tasks: tasks/get_version_of_etesync_dav.yml
ansible.builtin.include_tasks:
file: tasks/get_version_of_etesync_dav.yml
- name: Download etesync-dav
ansible.builtin.include_tasks: download_etesync_dav.yml
ansible.builtin.include_tasks:
file: download_etesync_dav.yml
- name: Setup Systemd service
ansible.builtin.include_tasks: setup_systemd.yml
ansible.builtin.include_tasks:
file: setup_systemd.yml

View file

@ -7,7 +7,7 @@
ansible.builtin.file:
path: '/etc/.ansible-version'
state: directory
mode: "0755"
mode: 0755
when: submodules_versioncheck | bool
- name: Check playbook version
@ -16,15 +16,14 @@
src: "/etc/.ansible-version/{{ playbook_version_path }}"
register: playbook_version
when: submodules_versioncheck | bool
ignore_errors: true
failed_when: false
- name: Print remote role version
- name: Print remote role version # noqa: H500
ansible.builtin.debug:
msg: "Remote role version: {{ playbook_version.content | default('Y3VycmVudGx5IG5vdCBkZXBsb3llZAo=') | b64decode | string }}"
when: submodules_versioncheck | bool
- name: Print locale role version
- name: Print locale role version # noqa: H500
ansible.builtin.debug:
msg: "Local role version: '{{ playbook_version_number | string }}'."
when: submodules_versioncheck | bool