Skip to content

Commit

Permalink
Merge pull request #17 from rhythmictech/sethome
Browse files Browse the repository at this point in the history
Fix missing HOME var
  • Loading branch information
sdickenson authored Feb 5, 2021
2 parents 39956a1 + 76955f9 commit 1725c28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions component.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@ phases:
- ansible-galaxy install -f -r requirements.yml || true
# Wait for cloud-init
- while [ ! -f /var/lib/cloud/instance/boot-finished ]; do echo 'Waiting for cloud-init...'; sleep 1; done
# Work around for missing environment
- export HOME=/root
# Run playbook
- ansible-playbook ${playbook_file}

0 comments on commit 1725c28

Please sign in to comment.