Moved back to single file workflow
All checks were successful
Ansible Test / CentOS9-Ansible-Pipeline (push) Successful in 13s
Ansible Test / Fedora39-Ansible-Pipeline (push) Successful in 14s
Ansible Test / Debian11-Ansible-Pipeline (push) Successful in 13s
Ansible Test / Debian12-Ansible-Pipeline (push) Successful in 12s

This commit is contained in:
Chris Hammer 2023-12-13 13:09:43 -05:00
parent 2b617f52a5
commit 483b28c4ba
5 changed files with 119 additions and 120 deletions

View File

@ -1,30 +0,0 @@
name: Ansible Test
run-name: ${{ gitea.actor }} is tesing Ansible with Gitea Actions
on: [push]
jobs:
CentOS9-Ansible-Pipeline:
runs-on: ansible-dev-centos9
steps:
- name: Clone repository
uses: actions/checkout@v3
- 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 --exclude .gitea
- name: Run Ansible-Playbook
run: |
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml

View File

@ -1,30 +0,0 @@
name: Ansible Test
run-name: ${{ gitea.actor }} is tesing Ansible with Gitea Actions
on: [push]
jobs:
Debian11-Ansible-Pipeline:
runs-on: ansible-dev-debian11
steps:
- name: Clone repository
uses: actions/checkout@v3
- 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 --exclude .gitea
- name: Run Ansible-Playbook
run: |
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml

View File

@ -1,30 +0,0 @@
name: Ansible Test
run-name: ${{ gitea.actor }} is tesing Ansible with Gitea Actions
on: [push]
jobs:
Debian12-Ansible-Pipeline:
runs-on: ansible-dev-debian12
steps:
- name: Clone repository
uses: actions/checkout@v3
- 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 --exclude .gitea
- name: Run Ansible-Playbook
run: |
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml

View File

@ -1,30 +0,0 @@
name: Ansible Test
run-name: ${{ gitea.actor }} is tesing Ansible with Gitea Actions
on: [push]
jobs:
Fedora39-Ansible-Pipeline:
runs-on: ansible-dev-fedora39
steps:
- name: Clone repository
uses: actions/checkout@v3
- 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 --exclude .gitea
- name: Run Ansible-Playbook
run: |
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml

View File

@ -0,0 +1,119 @@
name: Ansible Test
run-name: ${{ gitea.actor }} is tesing Ansible with Gitea Actions
on: [push]
jobs:
# CENTOS 9
#########################
CentOS9-Ansible-Pipeline:
runs-on: ansible-dev-centos9
steps:
- name: Clone repository
uses: actions/checkout@v3
- 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 --exclude .gitea
- name: Run Ansible-Playbook
run: |
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
# FEDORA 39
#########################
Fedora39-Ansible-Pipeline:
runs-on: ansible-dev-fedora39
steps:
- name: Clone repository
uses: actions/checkout@v3
- 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 --exclude .gitea
- name: Run Ansible-Playbook
run: |
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
# DEBIAN 11
#########################
Debian11-Ansible-Pipeline:
runs-on: ansible-dev-debian11
steps:
- name: Clone repository
uses: actions/checkout@v3
- 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 --exclude .gitea
- name: Run Ansible-Playbook
run: |
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
# DEBIAN 12
#########################
Debian12-Ansible-Pipeline:
runs-on: ansible-dev-debian12
steps:
- name: Clone repository
uses: actions/checkout@v3
- 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 --exclude .gitea
- name: Run Ansible-Playbook
run: |
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml