Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkweyunga authored Aug 24, 2023
1 parent 5d1d755 commit a291c64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/infra-with-path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ jobs:
- name: Adding Ansible Variables
run: |
mkdir -p {{ env.ansible_playbook }}/vars/
cat << EOF > {{ env.ansible_playbook }}/vars/main.yaml
mkdir -p "${{ env.ansible_playbook }}/vars/"
cat << EOF > "${{ env.ansible_playbook }}/vars/main.yaml"
---
directus_hostname: ${{ inputs.directus_hostname }}
directus_domain: ${{ inputs.directus_domain }}
Expand All @@ -110,8 +110,8 @@ jobs:
- name: Run main playbook
run: |
if [ "${{ inputs.ANSIBLE_BECOME_PASS }}" != "no-password" ]; then
ANSIBLE_CONFIG=ansible.cfg ansible-playbook --ask-become-pass {{ env.ansible_playbook_mainfile }}
ANSIBLE_CONFIG=ansible.cfg ansible-playbook --ask-become-pass "${{ env.ansible_playbook_mainfile }}"
else
ANSIBLE_CONFIG=ansible.cfg ansible-playbook {{ env.ansible_playbook_mainfile }}
ANSIBLE_CONFIG=ansible.cfg ansible-playbook "${{ env.ansible_playbook_mainfile }}"
fi

0 comments on commit a291c64

Please sign in to comment.