azukiapp/docker-deploy

.bashrc should load .ip_addr file (/home/git/.ip_addr) in host server

fearenales opened this issue · 1 comments

Today, the .ip_addr (~/.ip_addr) is loaded before running azk restart by the post-receive hook.
However, when accessing server manually via SSH and doing the same command, the file isn't loaded and hence the azk service isn't accessible via server IP.
To solve this, the configure role of the Ansible playbook should add this line before ~/.bashrc EOF:

. home/{{ user }}/.ip_addr

Closed by PR #10