Run the playbook locally in the vm.
ansible-playbook -i "localhost," -c local playbooks/ilmnuri-playbook.yml
Run the playbook remotely, you need ilmnuri host in your ansible hosts file.
ansible-playbook playbooks/ilmnuri-playbook.yml -l ilmnuri
Run teh playbook from remote machine.
- First have inventory called ilmnuri in your /etc/ansible/hosts file
ansible-playbook playbooks/ilmnuri-playbook.yml
Run certbot command to get letsencrypt certs.
certbot --nginx