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
|
||||
|
||||
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]
|
||||
|
|
10
.github/workflows/galaxy.yml
vendored
10
.github/workflows/galaxy.yml
vendored
|
@ -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'
|
||||
|
|
7
.github/workflows/yamllint.yaml
vendored
7
.github/workflows/yamllint.yaml
vendored
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue