From 17a572112ced86fb41c13934a1fcead9796de778 Mon Sep 17 00:00:00 2001 From: Muhammed Hussein Karimi Date: Sat, 23 Oct 2021 23:04:47 +0330 Subject: [PATCH] better readme --- ansible/README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ansible/README.md b/ansible/README.md index 659f56c5a..9068ca8b6 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -2,22 +2,23 @@ This playbook comes with three roles - 1. docker (to install docker) - 2. nginx (to install nginx using docker with ssl) - 3. uptime kuma (to install uptime kuma using docker) +1. docker (to install docker) +2. nginx (to install nginx using docker with ssl) +3. uptime kuma (to install uptime kuma using docker) To see more info see docker-compose, tasks and config files I will try to make this readme better ## To run it -1. run `ansible-galaxy install -r ansible-requirements.yml` to get requirements -2. prepare inventory hosts -3. put your certificates in files section in nginx role with this structure below: +1. install ansible see [here](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) +2. run `ansible-galaxy install -r ansible-requirements.yml` to get requirements +3. prepare inventory hosts +4. put your certificates in files section in nginx role with this structure below: ``` ansible -> roles -> nginx -> ssl -> .fullchain.pem ansible -> roles -> nginx -> ssl -> .privkey.pem ``` -4. to run playbook +5. to run playbook ```bash ansible-playbook ./playbook.yml -i --extra-vars "kuma_domain=" ```