Using different action for Ansible dry run.
This commit is contained in:
@@ -132,17 +132,16 @@ jobs:
|
|||||||
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
|
- name: Ansible Playbook Dry Run
|
||||||
uses: dawidd6/action-ansible-playbook@v2
|
uses: arillso/action.playbook@0.1.0
|
||||||
with:
|
with:
|
||||||
directory: ansible/
|
check: true
|
||||||
playbook: docker_config_deploy.yml
|
galaxy_collections_path: ansible/collections
|
||||||
key: ${{ secrets.RINOA_ANSIBLE_PRIVATE_KEY }}
|
galaxy_requirements_file: ansible/collections/requirements.yml
|
||||||
options: |
|
inventory: ansible/inventory/hosts.yml
|
||||||
--check
|
playbook: ansible/docker_config_deploy.yml
|
||||||
--extra-vars group_vars/all.yml
|
private_key: ${{ secrets.RINOA_ANSIBLE_PRIVATE_KEY }}
|
||||||
--inventory inventory/hosts.yml
|
|
||||||
requirements: collections/requirements.yml
|
|
||||||
vault_password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}
|
vault_password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}
|
||||||
|
verbose: 0
|
||||||
- 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