1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ntp.git synced 2024-08-16 12:59:49 +02:00

update github actions

This commit is contained in:
L3D 2022-04-07 23:04:39 +02:00
parent fd3a35c225
commit 1b230b1e4c
Signed by: l3d
GPG key ID: CD08445BFF4313D1
4 changed files with 15 additions and 14 deletions

View file

@ -14,13 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3
- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master
- name: 'Lint Ansible Playbook'
uses: ansible/ansible-lint-action@v6
with:
targets: "."
# [required]
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
args: ""
# [optional]

View file

@ -12,9 +12,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: galaxy
uses: robertdebock/galaxy-action@1.1.0
- name: 'checkout git repo'
uses: actions/checkout@v3
- name: 'release on galaxy'
uses: robertdebock/galaxy-action@1.2.0
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
git_branch: 'main'

View file

@ -13,10 +13,11 @@ jobs:
name: 'Yamllint'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'checkout git repo'
uses: actions/checkout@v3
- name: 'Yamllint'
uses: karancode/yamllint-github-action@master
uses: karancode/yamllint-github-action@v2.0.0
with:
yamllint_file_or_dir: '.'
yamllint_config_filepath: './.yamllint'

View file

@ -14,6 +14,7 @@
ansible.builtin.shell: emerge-webrsync
changed_when: false
when: ansible_os_family == "Gentoo"
tags: 'skip_ansible_lint'
- name: Install ntp daemon on Linux
become: true