...
This commit is contained in:
@@ -81,16 +81,11 @@ jobs:
|
|||||||
ansible-galaxy collection install -r ansible/collections/requirements.yml -p ansible/collections
|
ansible-galaxy collection install -r ansible/collections/requirements.yml -p ansible/collections
|
||||||
- name: Ansible Dry Run
|
- name: Ansible Dry Run
|
||||||
id: docker-config-deploy
|
id: docker-config-deploy
|
||||||
uses: arillso/action.playbook@0.0.8
|
uses: SakulFlee/GitHub-Action-Ansible@v0.0.1
|
||||||
with:
|
with:
|
||||||
check: true
|
playbook_file: ansible/docker_config_deploy.yml
|
||||||
galaxy_collections_path: ansible/collections
|
inventory_file: ansible/inventory/hosts.yml
|
||||||
galaxy_requirements_file: ansible/collections/requirements.yml
|
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: 2
|
|
||||||
- name: Generate .env file for Docker Compose Dry Run
|
- name: Generate .env file for Docker Compose Dry Run
|
||||||
run: |
|
run: |
|
||||||
vault kv get -format=json rinoa-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env
|
vault kv get -format=json rinoa-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env
|
||||||
|
|||||||
Reference in New Issue
Block a user