panda 0016da9fed first commit | há 4 anos atrás | |
---|---|---|
ansible | há 4 anos atrás | |
keys | há 4 anos atrás | |
repo | há 4 anos atrás | |
roles | há 4 anos atrás | |
README.md | há 4 anos atrás | |
common.yml | há 4 anos atrás | |
hosts | há 4 anos atrás | |
lldp.yml | há 4 anos atrás | |
telegraf.yml | há 4 anos atrás | |
to_add.txt | há 4 anos atrás | |
transmission.yml | há 4 anos atrás | |
vcn.yml | há 4 anos atrás |
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