Skip to content

Commit

Permalink
Fix github action provision.yml, add to update file inline
Browse files Browse the repository at this point in the history
  • Loading branch information
theodore86 committed Jul 16, 2023
1 parent d0a06bb commit 98f850b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:
- name: 'Update vagrant.yaml ansible tags with all the existing in playbook'
run: |
tags=$(yq ".[].roles[].tags" provisioners/ansible/playbook.yml)
tags=$("'${tags//[[:space:]]/"','"}'")
tags="'${tags//[[:space:]]/"','"}'"
tags="[${tags}]"
yq '.":host".":provisioners".":ansible".":options".":tags" = env(tags)' vagrant.yaml
yq '.":host".":provisioners".":ansible".":options".":tags" = env(tags)' -i vagrant.yaml
- name: "Installation of Vagrant plugins"
run: |
Expand Down

0 comments on commit 98f850b

Please sign in to comment.