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

Merge pull request #3 from roles-ansible/actions

update github actions
This commit is contained in:
L3D 2022-04-07 23:06:57 +02:00 committed by GitHub
commit 4bf1dbdffe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 14 deletions

View file

@ -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]

View file

@ -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'

View file

@ -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'

View file

@ -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