From 4aa4c5b8534c37e6e344519d2cdc7ce3e7ab4c92 Mon Sep 17 00:00:00 2001 From: Muhammed Hussein Karimi Date: Mon, 4 Apr 2022 06:24:48 +0430 Subject: [PATCH] update readme for new tag --- ansible/README.md | 9 +++++---- ansible/roles/requirements/tasks/main.yml | 2 +- ansible/roles/requirements/tasks/setup-Debian.yml | 2 +- ansible/roles/requirements/tasks/setup-RedHat.yml | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ansible/README.md b/ansible/README.md index 51caa13ce..15f7748f2 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -1,10 +1,11 @@ # Ansible Playbook to install uptime kuma using docker -This playbook comes with three roles +This playbook comes with three tags -1. docker (to install docker) -2. nginx (to install nginx using docker with ssl) -3. uptime kuma (to install uptime kuma using docker) +1. requirements (will install anything needed to make next parts working) +2. docker (to install docker) +3. nginx (to install nginx using docker with ssl) +4. 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 diff --git a/ansible/roles/requirements/tasks/main.yml b/ansible/roles/requirements/tasks/main.yml index f5e6ab7f0..ae23cd2fa 100644 --- a/ansible/roles/requirements/tasks/main.yml +++ b/ansible/roles/requirements/tasks/main.yml @@ -8,4 +8,4 @@ when: ansible_os_family == 'RedHat' - include_tasks: setup-Debian.yml - when: ansible_os_family == 'Debian' \ No newline at end of file + when: ansible_os_family == 'Debian' diff --git a/ansible/roles/requirements/tasks/setup-Debian.yml b/ansible/roles/requirements/tasks/setup-Debian.yml index 25883c2fb..2e4313675 100644 --- a/ansible/roles/requirements/tasks/setup-Debian.yml +++ b/ansible/roles/requirements/tasks/setup-Debian.yml @@ -6,4 +6,4 @@ - libzbar0 - python3-docopt update_cache: yes - state: present \ No newline at end of file + state: present diff --git a/ansible/roles/requirements/tasks/setup-RedHat.yml b/ansible/roles/requirements/tasks/setup-RedHat.yml index 045f2b2de..34d6eb2da 100644 --- a/ansible/roles/requirements/tasks/setup-RedHat.yml +++ b/ansible/roles/requirements/tasks/setup-RedHat.yml @@ -6,4 +6,4 @@ - zbar - python3-docopt update_cache: yes - state: present \ No newline at end of file + state: present