change pip3 2 pipx
This commit is contained in:
parent
ff7585c03c
commit
ce128d442e
@ -1,30 +1,32 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
apt-get -y install jupyter python3-virtualenv python3-setuptools build-essential libssl-dev libffi-dev python3-dev libkrb5-dev sshpass yamllint python3-pip
|
apt-get -y install jupyter python3-virtualenv python3-setuptools build-essential libssl-dev libffi-dev python3-dev libkrb5-dev sshpass yamllint python3-pip pipx
|
||||||
if [ ! -d /etc/ansible ]
|
if [ ! -d /etc/ansible ]
|
||||||
then
|
then
|
||||||
mkdir /etc/ansible
|
sudo mkdir /etc/ansible
|
||||||
mkdir /etc/ansible/group_vars
|
sudo mkdir /etc/ansible/group_vars
|
||||||
mkdir /etc/ansible/roles
|
sudo mkdir /etc/ansible/roles
|
||||||
cp ./group_vars/* /etc/ansible/group_vars/
|
sudo cp ./group_vars/* /etc/ansible/group_vars/
|
||||||
cp ./ansible.cfg /etc/ansible/ansible.cfg
|
sudo cp ./ansible.cfg /etc/ansible/ansible.cfg
|
||||||
cp ./hosts /etc/ansible/hosts
|
sudo cp ./hosts /etc/ansible/hosts
|
||||||
fi
|
fi
|
||||||
pip3 install ansible
|
pipx install ansible
|
||||||
pip3 install ansible-lint
|
pipx install ansible-lint
|
||||||
pip3 install ansible-runner
|
pipx install ansible-runner
|
||||||
pip3 install ansible-builder
|
pipx install ansible-builder
|
||||||
pip3 install netmiko
|
pipx install netmiko
|
||||||
pip3 install netaddr
|
pipx install netaddr
|
||||||
pip3 install argcomplete
|
pipx install argcomplete
|
||||||
activate-global-python-argcomplete
|
activate-global-python-argcomplete
|
||||||
pip3 install cryptography --upgrade
|
pipx install cryptography --upgrade
|
||||||
pip3 install pywinrm
|
pipx install pywinrm
|
||||||
pip3 install pywinrm[credssp]
|
pipx install pywinrm[credssp]
|
||||||
pip3 install pywinrm[kerberos]
|
pipx install pywinrm[kerberos]
|
||||||
pip3 install molecule[ansible,docker,lint]
|
pipx install molecule[ansible,docker,lint]
|
||||||
pip3 install docker
|
pipx install docker
|
||||||
pip3 install ansible-navigator[ansible-core]
|
pipx install ansible-navigator[ansible-core]
|
||||||
pip3 install --upgrade git+https://github.com/networkop/docker-topo.git
|
pipx install --upgrade git+https://github.com/networkop/docker-topo.git
|
||||||
|
pipx ensurepath
|
||||||
|
source ~/.bashrc
|
||||||
ansible-galaxy collection install arista.eos
|
ansible-galaxy collection install arista.eos
|
||||||
ansible-galaxy collection install community.general
|
ansible-galaxy collection install community.general
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user