mirror of
https://github.com/roles-ansible/ansible_role_ntp.git
synced 2024-08-16 12:59:49 +02:00
commit
4bf1dbdffe
4 changed files with 15 additions and 14 deletions
11
.github/workflows/ansible-linting-check.yml
vendored
11
.github/workflows/ansible-linting-check.yml
vendored
|
@ -14,13 +14,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Lint Ansible Playbook
|
- name: 'Lint Ansible Playbook'
|
||||||
uses: ansible/ansible-lint-action@master
|
uses: ansible/ansible-lint-action@v6
|
||||||
with:
|
with:
|
||||||
targets: "."
|
targets: "."
|
||||||
# [required]
|
|
||||||
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
|
|
||||||
args: ""
|
|
||||||
# [optional]
|
|
||||||
|
|
10
.github/workflows/galaxy.yml
vendored
10
.github/workflows/galaxy.yml
vendored
|
@ -12,9 +12,11 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: 'checkout git repo'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: galaxy
|
|
||||||
uses: robertdebock/galaxy-action@1.1.0
|
- name: 'release on galaxy'
|
||||||
|
uses: robertdebock/galaxy-action@1.2.0
|
||||||
with:
|
with:
|
||||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||||
|
git_branch: 'main'
|
||||||
|
|
7
.github/workflows/yamllint.yaml
vendored
7
.github/workflows/yamllint.yaml
vendored
|
@ -13,10 +13,11 @@ jobs:
|
||||||
name: 'Yamllint'
|
name: 'Yamllint'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout'
|
- name: 'checkout git repo'
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: 'Yamllint'
|
- name: 'Yamllint'
|
||||||
uses: karancode/yamllint-github-action@master
|
uses: karancode/yamllint-github-action@v2.0.0
|
||||||
with:
|
with:
|
||||||
yamllint_file_or_dir: '.'
|
yamllint_file_or_dir: '.'
|
||||||
yamllint_config_filepath: './.yamllint'
|
yamllint_config_filepath: './.yamllint'
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
ansible.builtin.shell: emerge-webrsync
|
ansible.builtin.shell: emerge-webrsync
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: ansible_os_family == "Gentoo"
|
when: ansible_os_family == "Gentoo"
|
||||||
|
tags: 'skip_ansible_lint'
|
||||||
|
|
||||||
- name: Install ntp daemon on Linux
|
- name: Install ntp daemon on Linux
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue