Some checks failed
Ansible Test / Explore-Gitea-Actions (push) Failing after 14s
39 lines
944 B
YAML
39 lines
944 B
YAML
name: Ansible Test
|
|
run-name: ${{ gitea.actor }} is tesing Ansible with Gitea Actions
|
|
on: [push]
|
|
|
|
jobs:
|
|
Explore-Gitea-Actions:
|
|
runs-on: ansible-dev-centos9
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Where are we?
|
|
run: |
|
|
pwd
|
|
|
|
- name: List files in the repository
|
|
run: |
|
|
ls ${{ gitea.workspace }}
|
|
|
|
- name: Ansible Version
|
|
run: |
|
|
ansible --version
|
|
|
|
- name: Ansible-lint Version
|
|
run: |
|
|
ansible-lint --version
|
|
|
|
- name: Ansible Galaxy Requirements Install
|
|
run: |
|
|
ansible-galaxy collection install -r collections/requirements.yml
|
|
|
|
- name: Run Ansible-Lint
|
|
run: |
|
|
ansible-lint --offline --exclude collections/ansible_collections
|
|
|
|
- name: Run Ansible-Playbook
|
|
run: |
|
|
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
|