Skip to content

Commit

Permalink
Doc: Comment on HOST_PASS var inflation
Browse files Browse the repository at this point in the history
  • Loading branch information
emranbm committed May 6, 2021
1 parent e661301 commit ff2b2fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/install_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ jobs:
- uses: actions/checkout@v2
- name: "Install Docker"
run: |
# HOST_PASS var is inflated at runtime to prevent from being logged as plain text!
# For more details, see https://github.com/actions/runner/issues/643
HOST_PASS=$(cat $GITHUB_EVENT_PATH | grep host_pass | cut -d'"' -f4)
ansible-playbook install_docker.yml -i inventory.yml --extra-vars "ansible_host=${{ github.event.inputs.host }} ansible_user=${{ github.event.inputs.host_user }} ansible_ssh_pass=$HOST_PASS setup_shecan=${{ github.event.inputs.setup_shecan }}"

0 comments on commit ff2b2fa

Please sign in to comment.