panda d57d37b693 add tor | 4 years ago | |
---|---|---|
debug | 4 years ago | |
keys | 4 years ago | |
repo | 4 years ago | |
roles | 4 years ago | |
README.md | 4 years ago | |
common.yml | 4 years ago | |
docker.yml | 4 years ago | |
hosts | 4 years ago | |
lldp.yml | 4 years ago | |
singularity.yml | 4 years ago | |
telegraf.yml | 4 years ago | |
tincvpn.yml | 4 years ago | |
to_add.txt | 4 years ago | |
tor.yml | 4 years ago | |
transmission.yml | 4 years ago | |
variables.yml | 4 years ago |
PREREQUISITES:
install ansible:
apt-get install -y ansible
add hosts lines to ansible:
echo "[thismachine]" >> /etc/ansible/hosts
echo "127.0.0.1" >> /etc/ansible/hosts
SETUP:
you have to change at least 2 variables:
which by default are set to "CHANGEME" anche the playbook is set to fail if these are set to CHANGEME
insert your user in:
variables.yml
in the list:
users:
goofy
and their ssh keys in the folder
keys
in form of filename:
goofy.key.pub
and format:
ssh-rsa [/CUT] user@host
insert your hostname in
variables.yml
in the variable:
hostname:
RUN DEFAULTS:
ansible-playbook common.yml
RUN OPTIONALS:
VERSIONS: docker-compose: variable: compose_ver look here: https://github.com/docker/compose/releases/latest
go: variable: singularity_go_ver look here: https://golang.org/dl/ , the package is like go1.14.linux-amd64.tar.gz and you take the "1.14"
singularity: varaible: singularity_ver look here: https://github.com/sylabs/singularity/releases/latest
GIT PUSH:
git add --all
git commit -m "added things to readme"
git push -u origin master
or:
git add --all && git commit -m "message" && git push -u origin master