Skip to content

Commit

Permalink
fix(ansible, github-actions): json workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
raisedadead committed Oct 9, 2023
1 parent 31c1c5b commit 7073808
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ansible--reboot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,5 @@ jobs:
run: |
ansible-playbook play-any--reboot.yml \
--private-key=~/.ssh/id_for_ansible.pem \
-e "variable_host=${{ inputs.hosts }}" \
-e "variable_serial=${{ inputs.serial }}" \
-e '{"variable_host": "${{ inputs.hosts }}", "variable_serial": ${{ inputs.serial }}}' \
${{ inputs.verbosity }}
3 changes: 1 addition & 2 deletions .github/workflows/ansible--update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,5 @@ jobs:
run: |
ansible-playbook play-any--update.yml \
--private-key=~/.ssh/id_for_ansible.pem \
-e "variable_host=${{ inputs.hosts }}" \
-e "variable_serial=${{ inputs.serial }}" \
-e '{"variable_host": "${{ inputs.hosts }}", "variable_serial": ${{ inputs.serial }}}' \
${{ inputs.verbosity }}
3 changes: 1 addition & 2 deletions .github/workflows/ansible--uptime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,5 @@ jobs:
run: |
ansible-playbook play-any--uptime.yml \
--private-key=~/.ssh/id_for_ansible.pem \
-e "variable_host=${{ inputs.hosts }}" \
-e "variable_serial=${{ inputs.serial }}" \
-e '{"variable_host": "${{ inputs.hosts }}", "variable_serial": ${{ inputs.serial }}}' \
${{ inputs.verbosity }}

0 comments on commit 7073808

Please sign in to comment.