Removing Ansible Lint for now.
This commit is contained in:
@@ -58,37 +58,9 @@ jobs:
|
||||
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
||||
notification_title: 'GITEA: PR Check'
|
||||
notification_message: 'PR Created 🎟️'
|
||||
ansible-linting:
|
||||
name: Ansible Lint
|
||||
needs: [check-and-create-pr]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Gotify Notification
|
||||
uses: eikendev/gotify-action@master
|
||||
with:
|
||||
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
|
||||
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
||||
notification_title: 'GITEA: Ansible Lint @ Rinoa'
|
||||
notification_message: 'Starting Ansible Lint...'
|
||||
- name: Run ansible-lint
|
||||
uses: ansible/ansible-lint@main
|
||||
with:
|
||||
args: ""
|
||||
setup_python: "true"
|
||||
working_directory: "./ansible"
|
||||
requirements_file: "collections/requirements.yml"
|
||||
- name: Gotify Notification
|
||||
uses: eikendev/gotify-action@master
|
||||
with:
|
||||
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
|
||||
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
||||
notification_title: 'GITEA: Ansible Lint @ Rinoa'
|
||||
notification_message: 'Ansible Linting completed.'
|
||||
ansible-dry-run:
|
||||
name: Ansible Playbook Dry Run
|
||||
needs: [ansible-linting]
|
||||
name: Ansible Dry Run
|
||||
needs: [check-and-create-pr]
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
VAULT_ADDR: ${{ secrets.RINOA_VAULT_ADDR }}
|
||||
@@ -137,8 +109,8 @@ jobs:
|
||||
with:
|
||||
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
|
||||
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
||||
notification_title: 'GITEA: Ansible Playbook Dry Run @ Rinoa'
|
||||
notification_message: 'Ansible Playbook dry run completed successfully.'
|
||||
notification_title: 'GITEA: Ansible Dry Run @ Rinoa'
|
||||
notification_message: 'Ansible dry run completed successfully.'
|
||||
pr-merge:
|
||||
name: PR Merge
|
||||
needs: [ansible-dry-run]
|
||||
|
||||
Reference in New Issue
Block a user