No Description

panda 94a735125c fix README 4 years ago
debug 2e7b7c48b4 fix singularity 4 years ago
keys 4881a7d3ec second commit 4 years ago
repo 0016da9fed first commit 4 years ago
roles 1f9d9b223e fix tor role 4 years ago
README.md 94a735125c fix README 4 years ago
common.yml c58fc1837e fix tinc_vpn variable 4 years ago
docker.yml e9fa43f8e0 add docker 4 years ago
hosts 0016da9fed first commit 4 years ago
lldp.yml 0016da9fed first commit 4 years ago
singularity.yml 2d15791ead added singularity 4 years ago
telegraf.yml 0016da9fed first commit 4 years ago
tincvpn.yml e9fa43f8e0 add docker 4 years ago
to_add.txt 4881a7d3ec second commit 4 years ago
tor.yml d57d37b693 add tor 4 years ago
transmission.yml 0016da9fed first commit 4 years ago
variables.yml c58fc1837e fix tinc_vpn variable 4 years ago

README.md

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:

  • users
  • hostname

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

  • docker.yml : installs docker-ce and docker-compose (variable in variables.yml for latest of docker-compose)
  • lldp.yml : installs and enables LLDP
  • telegraf.yml
  • tincvpn.yml
  • transmission.yml
  • singularity.yml : installs go and builds and installs singularity
  • tor.yml : installs tor base from tor repo

Versions

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