mirror of
https://github.com/roles-ansible/ansible_role_avahi_client.git
synced 2024-08-16 16:09:49 +02:00
commit
bfdc73619d
6 changed files with 16 additions and 13 deletions
4
.github/workflows/ansible-linting-check.yml
vendored
4
.github/workflows/ansible-linting-check.yml
vendored
|
@ -10,8 +10,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout git repo'
|
- name: Checkout git repo
|
||||||
uses: actions/checkout@v4.1.1
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
4
.github/workflows/j2lint-check.yml
vendored
4
.github/workflows/j2lint-check.yml
vendored
|
@ -10,8 +10,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout git repo'
|
- name: Checkout git repo
|
||||||
uses: actions/checkout@v4.1.1
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
2
.github/workflows/yamllint-check.yml
vendored
2
.github/workflows/yamllint-check.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout git repo'
|
- name: Checkout git repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
|
@ -1,17 +1,21 @@
|
||||||
---
|
---
|
||||||
- name: Run Optional versionscheck
|
- name: Run Optional versionscheck
|
||||||
ansible.builtin.include_tasks: versioncheck.yml
|
ansible.builtin.include_tasks:
|
||||||
|
file: versioncheck.yml
|
||||||
when: submodules_versioncheck | bool
|
when: submodules_versioncheck | bool
|
||||||
|
|
||||||
- name: Gather os specific variables
|
- name: Gather os specific variables
|
||||||
ansible.builtin.include_vars: "{{ item }}"
|
ansible.builtin.include_vars:
|
||||||
|
file: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "vars/{{ ansible_os_family }}.yml"
|
- "vars/{{ ansible_os_family }}.yml"
|
||||||
- "vars/os_fallback.yml"
|
- "vars/os_fallback.yml"
|
||||||
|
|
||||||
- name: Install MDNS requirements
|
- name: Install MDNS requirements
|
||||||
ansible.builtin.include_tasks: install.yml
|
ansible.builtin.include_tasks:
|
||||||
|
file: install.yml
|
||||||
|
|
||||||
- name: Configure /etc/nsswitch.conf
|
- name: Configure /etc/nsswitch.conf
|
||||||
ansible.builtin.include_tasks: nsswitch.yml
|
ansible.builtin.include_tasks:
|
||||||
|
file: nsswitch.yml
|
||||||
when: avahi_client__configure_nsswitch | bool
|
when: avahi_client__configure_nsswitch | bool
|
||||||
|
|
|
@ -16,15 +16,14 @@
|
||||||
src: "/etc/.ansible-version/{{ playbook_version_path }}"
|
src: "/etc/.ansible-version/{{ playbook_version_path }}"
|
||||||
register: playbook_version
|
register: playbook_version
|
||||||
when: submodules_versioncheck | bool
|
when: submodules_versioncheck | bool
|
||||||
ignore_errors: true
|
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
- name: Print remote role version
|
- name: Print remote role version # noqa: H500
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "Remote role version: {{ playbook_version.content | default('Y3VycmVudGx5IG5vdCBkZXBsb3llZAo=') | b64decode | string }}"
|
msg: "Remote role version: {{ playbook_version.content | default('Y3VycmVudGx5IG5vdCBkZXBsb3llZAo=') | b64decode | string }}"
|
||||||
when: submodules_versioncheck | bool
|
when: submodules_versioncheck | bool
|
||||||
|
|
||||||
- name: Print locale role version
|
- name: Print locale role version # noqa: H500
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "Local role version: '{{ playbook_version_number | string }}'."
|
msg: "Local role version: '{{ playbook_version_number | string }}'."
|
||||||
when: submodules_versioncheck | bool
|
when: submodules_versioncheck | bool
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
---
|
---
|
||||||
playbook_version_number: 9
|
playbook_version_number: 10
|
||||||
playbook_version_path: 'do1jlr.avahi_client.version'
|
playbook_version_path: 'do1jlr.avahi_client.version'
|
||||||
|
|
Loading…
Reference in a new issue