Skip to content

Commit 1725c28

Browse files
authored
Merge pull request #17 from rhythmictech/sethome
Fix missing HOME var
2 parents 39956a1 + 76955f9 commit 1725c28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

component.yml.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,7 @@ phases:
4949
- ansible-galaxy install -f -r requirements.yml || true
5050
# Wait for cloud-init
5151
- while [ ! -f /var/lib/cloud/instance/boot-finished ]; do echo 'Waiting for cloud-init...'; sleep 1; done
52+
# Work around for missing environment
53+
- export HOME=/root
5254
# Run playbook
5355
- ansible-playbook ${playbook_file}

0 commit comments

Comments
 (0)