Moved back to single file workflow
All checks were successful
All checks were successful
This commit is contained in:
parent
2b617f52a5
commit
483b28c4ba
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
119
.gitea/workflows/ansible-test.yml
Normal file
119
.gitea/workflows/ansible-test.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user