Source Update
This commit is contained in:
parent
28aed09fd1
commit
d54100edf8
@ -11,4 +11,7 @@ wx-init () {
|
||||
apt-get install -y python3-pip python3-venv jq git curl &> /dev/null
|
||||
python3 -m venv /opt/ansible &> /dev/null
|
||||
/opt/ansible/bin/pip3 install ansible hvac netaddr jmespath pexpect &> /dev/null
|
||||
|
||||
/opt/ansible/bin/ansible-pull -U ssh://git@$GIT_DOMAIN:$GIT_PORT/$GIT_REPOSITORY --vault-password-file ~/.ansible/vault.yml --private-key ~/.ssh/init playbooks/init.yml -t init
|
||||
|
||||
}
|
||||
|
@ -9,9 +9,9 @@ wx-stop () {
|
||||
chmod +x wx &> /dev/null
|
||||
fi
|
||||
|
||||
sudo curl https://git.waren.io/warengroup/wx/raw/branch/master/wx -o /opt/wx &> /dev/null
|
||||
sudo ln -sf /opt/wx /usr/bin/wx &> /dev/null
|
||||
sudo chmod +x /usr/bin/wx &> /dev/null
|
||||
mkdir $HOME/bin &> /dev/null
|
||||
curl https://git.waren.io/warengroup/wx/raw/branch/master/wx -o $HOME/bin/wx &> /dev/null
|
||||
chmod +x $HOME/bin/wx &> /dev/null
|
||||
|
||||
exit 1
|
||||
}
|
||||
|
9
wx
9
wx
@ -232,9 +232,9 @@ wx-stop () {
|
||||
chmod +x wx &> /dev/null
|
||||
fi
|
||||
|
||||
sudo curl https://git.waren.io/warengroup/wx/raw/branch/master/wx -o /opt/wx &> /dev/null
|
||||
sudo ln -sf /opt/wx /usr/bin/wx &> /dev/null
|
||||
sudo chmod +x /usr/bin/wx &> /dev/null
|
||||
mkdir $HOME/bin &> /dev/null
|
||||
curl https://git.waren.io/warengroup/wx/raw/branch/master/wx -o $HOME/bin/wx &> /dev/null
|
||||
chmod +x $HOME/bin/wx &> /dev/null
|
||||
|
||||
exit 1
|
||||
}
|
||||
@ -271,6 +271,9 @@ wx-init () {
|
||||
apt-get install -y python3-pip python3-venv jq git curl &> /dev/null
|
||||
python3 -m venv /opt/ansible &> /dev/null
|
||||
/opt/ansible/bin/pip3 install ansible hvac netaddr jmespath pexpect &> /dev/null
|
||||
|
||||
/opt/ansible/bin/ansible-pull -U ssh://git@$GIT_DOMAIN:$GIT_PORT/$GIT_REPOSITORY --vault-password-file ~/.ansible/vault.yml --private-key ~/.ssh/init playbooks/init.yml -t init
|
||||
|
||||
}
|
||||
|
||||
wx-settings() {
|
||||
|
Loading…
Reference in New Issue
Block a user