Working Ansible actions.
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 9m33s
Gitea Branch PR & Ansible Deployment / PR Merge (push) Has been cancelled
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (push) Has been cancelled
Gitea Branch PR & Ansible Deployment / Ansible Lints (push) Has been cancelled
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 9m33s
Gitea Branch PR & Ansible Deployment / PR Merge (push) Has been cancelled
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (push) Has been cancelled
Gitea Branch PR & Ansible Deployment / Ansible Lints (push) Has been cancelled
This commit is contained in:
@@ -92,30 +92,18 @@ jobs:
|
|||||||
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
||||||
notification_title: 'GITEA: Ansible Config Dry Run @ Rinoa'
|
notification_title: 'GITEA: Ansible Config Dry Run @ Rinoa'
|
||||||
notification_message: 'Starting Ansible dry run...'
|
notification_message: 'Starting Ansible dry run...'
|
||||||
# - name: Ansible Playbook Dry Run
|
|
||||||
# uses: arillso/action.playbook@0.1.0
|
|
||||||
# with:
|
|
||||||
# check: true
|
|
||||||
# galaxy_collections_path: ansible/collections
|
|
||||||
# galaxy_requirements_file: ansible/collections/requirements.yml
|
|
||||||
# inventory: ansible/inventory/hosts.yml
|
|
||||||
# playbook: ansible/docker_config_deploy.yml
|
|
||||||
# private_key: ${{ secrets.RINOA_ANSIBLE_PRIVATE_KEY }}
|
|
||||||
# vault_password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}
|
|
||||||
# verbose: 3
|
|
||||||
- name: Ansible Playbook Dry Run
|
- name: Ansible Playbook Dry Run
|
||||||
uses: dawidd6/action-ansible-playbook@v3
|
uses: dawidd6/action-ansible-playbook@v3
|
||||||
with:
|
with:
|
||||||
# Required, playbook filepath
|
|
||||||
playbook: docker_config_deploy.yml
|
|
||||||
directory: ansible/
|
directory: ansible/
|
||||||
|
playbook: docker_config_deploy.yml
|
||||||
key: ${{ secrets.RINOA_ANSIBLE_PRIVATE_KEY }}
|
key: ${{ secrets.RINOA_ANSIBLE_PRIVATE_KEY }}
|
||||||
vault_password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}
|
vault_password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}
|
||||||
requirements: collections/requirements.yml
|
requirements: collections/requirements.yml
|
||||||
options: |
|
options: |
|
||||||
--check
|
--check
|
||||||
--inventory inventory/hosts.yml
|
--inventory inventory/hosts.yml
|
||||||
-vvv
|
--verbose
|
||||||
- name: Gotify Notification
|
- name: Gotify Notification
|
||||||
uses: eikendev/gotify-action@master
|
uses: eikendev/gotify-action@master
|
||||||
with:
|
with:
|
||||||
@@ -194,26 +182,13 @@ jobs:
|
|||||||
- name: Ansible Playbook Config Deploy
|
- name: Ansible Playbook Config Deploy
|
||||||
uses: dawidd6/action-ansible-playbook@v3
|
uses: dawidd6/action-ansible-playbook@v3
|
||||||
with:
|
with:
|
||||||
# Required, playbook filepath
|
|
||||||
playbook: docker_config_deploy.yml
|
|
||||||
directory: ansible/
|
directory: ansible/
|
||||||
|
playbook: docker_config_deploy.yml
|
||||||
key: ${{ secrets.RINOA_ANSIBLE_PRIVATE_KEY }}
|
key: ${{ secrets.RINOA_ANSIBLE_PRIVATE_KEY }}
|
||||||
vault_password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}
|
vault_password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}
|
||||||
requirements: collections/requirements.yml
|
requirements: collections/requirements.yml
|
||||||
options: |
|
options: |
|
||||||
--inventory inventory/hosts.yml
|
--inventory inventory/hosts.yml
|
||||||
-vvv
|
|
||||||
# - name: Ansible Playbook Config Deploy
|
|
||||||
# uses: arillso/action.playbook@0.1.0
|
|
||||||
# with:
|
|
||||||
# check: false
|
|
||||||
# galaxy_collections_path: ansible/collections
|
|
||||||
# galaxy_requirements_file: ansible/collections/requirements.yml
|
|
||||||
# inventory: ansible/inventory/hosts.yml
|
|
||||||
# playbook: ansible/docker_config_deploy.yml
|
|
||||||
# private_key: ${{ secrets.RINOA_ANSIBLE_PRIVATE_KEY }}
|
|
||||||
# vault_password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}
|
|
||||||
# verbose: 3
|
|
||||||
- name: Gotify Notification
|
- name: Gotify Notification
|
||||||
uses: eikendev/gotify-action@master
|
uses: eikendev/gotify-action@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user