forked from andrzejsliwa/wsl2_ubuntu_ansible_setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_ansible.sh
executable file
·25 lines (18 loc) · 806 Bytes
/
install_ansible.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
# add Ansible repo
sudo apt-add-repository ppa:ansible/ansible -y
# Install pre-requisites
sudo apt update
sudo apt install -y aptitude ansible dialog
sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\
sudo chmod +x /usr/bin/yq
# # Install used collections
# ansible-galaxy collection install bec.shell --force
# # # Install used roles
# ansible-galaxy role install danielrolls.nix --force
# ansible-galaxy role install dotstrap.fzf --force
# ansible-galaxy role install gantsign.antigen --force
# ansible-galaxy role install gantsign.minikube --force
# ansible-galaxy role install gantsign.oh-my-zsh --force
# ansible-galaxy role install geerlingguy.docker --force
# ansible-galaxy role install geerlingguy.pip --force