I've used Kiex on my local machine in the past and found it realy usefull so now I'm trying to install Kiex on a remote machine using the Ansible confirguration management tool which runs a non-interactive shell. Because of this the kiex command doesn't work when I run it from the Ansible script but does work when I login to my machine via SSH.
I detailed my situation here.
Any ideas what can I do?( I tried adding [[ -s "$HOME/.kiex/scripts/kiex" ]] && source "$HOME/.kiex/scripts/kiex" to ~/.profile and /etc/profile instead of ~/.bashrc without success). I use Ubuntu Xenial.
I've used Kiex on my local machine in the past and found it realy usefull so now I'm trying to install Kiex on a remote machine using the Ansible confirguration management tool which runs a non-interactive shell. Because of this the
kiex
command doesn't work when I run it from the Ansible script but does work when I login to my machine via SSH. I detailed my situation here. Any ideas what can I do?( I tried adding[[ -s "$HOME/.kiex/scripts/kiex" ]] && source "$HOME/.kiex/scripts/kiex"
to~/.profile
and/etc/profile
instead of~/.bashrc
without success). I use Ubuntu Xenial.