ansible-galaxy install YasushiKobayashi.direnv
- cenos6
- amazone-linux
eval "$(direnv hook bash)"
$ echo 'eval "$(direnv hook bash)"' >> ~/.bash_profile
$ echo 'eval "$(direnv hook bash)"' >> ~/.bashrc
- name: set direnv bash_profile
become: false
lineinfile:
dest: ~/.bash_profile
line: 'eval "$(direnv hook bash)"'
- name: set direnv bashrc
become: false
lineinfile:
dest: ~/.bashrc
line: 'eval "$(direnv hook bash)"'