Ansible_PUBLIC/README.md
2020-03-14 15:26:53 +01:00

1.5 KiB

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