panda 0016da9fed first commit | 4 lat temu | |
---|---|---|
ansible | 4 lat temu | |
keys | 4 lat temu | |
repo | 4 lat temu | |
roles | 4 lat temu | |
README.md | 4 lat temu | |
common.yml | 4 lat temu | |
hosts | 4 lat temu | |
lldp.yml | 4 lat temu | |
telegraf.yml | 4 lat temu | |
to_add.txt | 4 lat temu | |
transmission.yml | 4 lat temu | |
vcn.yml | 4 lat temu |
PREREQUISITES:
apt-get install -y ansible
echo "[thismachine]" >> /etc/ansible/hosts
echo "127.0.0.1" >> /etc/ansible/hosts
SETUP:
insert your user and key in:
common.yml
in the list:
vars:
users:
goofy
and their ssh keys in the folder
keys
in form of filename:
goofy.key.pub
and format:
ssh-rsa [/CUT] user@host
RUN DEFAULTS:
ansible-playbook common.yml
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