apt update
ssh-keygen
apt install python3-pip -y
pip3 install ansible
git clone https://github.com/kireyn/kalishka.git
mkdir /etc/ansible
sudo nano /etc/ansible/hosts
[servers]
new_server ansible_host=insertyourdropletip
#new_server2 ansible_host=xxx.xxx.xxx.xxx
#new_server3 ansible_host=xxx.xxx.xxx.xxx
[all:vars]
ansible_python_interpreter=/usr/bin/python3
ansible-playbook -i hosts creatingdroplet.yml
Add droplet IP do /etc/ansible/hosts
ansible all -m ping --private-key=~/.ssh/id_rsa
ansible-playbook -l new_server setupingdroplet.yml --private-key=~/.ssh/id_rsa
ansible new_server -a 'cd /opt/Osmedeus && ./osmedeus.py -m subdomain -t example.com' --private-key=~/.ssh/id_rsa