mirror of
https://github.com/roles-ansible/ansible_role_etesync_dav.git
synced 2024-08-16 10:09:54 +02:00
commit
ee8044a7be
6 changed files with 15 additions and 12 deletions
2
.github/workflows/ansible-linting-check.yml
vendored
2
.github/workflows/ansible-linting-check.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/galaxy.yml
vendored
2
.github/workflows/galaxy.yml
vendored
|
@ -8,7 +8,7 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
name: Jinja2 Linting
|
||||
name: Galaxy Role Importer
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
2
.github/workflows/j2lint-check.yml
vendored
2
.github/workflows/j2lint-check.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/yamllint-check.yml
vendored
2
.github/workflows/yamllint-check.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue