File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 11- name : Eigenlayer CLI Setup
22 hosts : all
33 become : true
4- vars :
5- user : " {{ user }}"
64
75 tasks :
86 - name : check if eigenlayer is installed
7+ become_user : " {{ app_user }}"
98 shell : . ~/.profile && eigenlayer -v
109 register : eigenlayer_exists
1110 ignore_errors : true
1211
1312 - name : Download Eigenlayer CLI
1413 when : eigenlayer_exists is failed
14+ become_user : " {{ app_user }}"
1515 shell :
1616 cmd : curl -sSfL https://raw.githubusercontent.com/layr-labs/eigenlayer-cli/master/scripts/install.sh | sh -s
17- become_user : " {{ user }}"
1817
1918 - name : Add eigenlayer path to ~/.profile
2019 when : eigenlayer_exists is failed
20+ become_user : " {{ app_user }}"
2121 lineinfile :
2222 path : ~/.profile
2323 line : ' export PATH=$PATH:~/bin'
24- create : true
2524 state : present
2625
27- # - name: Source updated profile and test eigenlayer version
28- # when: eigenlayer_exists is failed
29- # shell: source ~/.profile && eigenlayer -v
26+ - name : Source updated profile and test eigenlayer version
27+ when : eigenlayer_exists is failed
28+ become_user : " {{ app_user }}"
29+ shell : . ~/.profile && eigenlayer -v
You can’t perform that action at this time.
0 commit comments