From 66b3dd54217d67f19bd8d66726c62fd095c7c175 Mon Sep 17 00:00:00 2001 From: Nikita Konev Date: Mon, 9 Dec 2024 04:22:12 +0300 Subject: [PATCH] update installation readme --- install/ansible/readme.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/install/ansible/readme.md b/install/ansible/readme.md index 831f58893..eb80c821e 100644 --- a/install/ansible/readme.md +++ b/install/ansible/readme.md @@ -1,21 +1,26 @@ -# Install +# Installation + +Tested on Rocky Linux 9.3. + ```bash +# install Ansible and passlib onto local machine pip3 install passlib sudo dnf install ansible + cd install/ansible + +# prepare configs mkdir ~/blog # copy then edit this both vars and inventory cp ./roles/install/vars/main.yml.example ~/blog/vars.yml cp ./inventory.ini.example ~/blog/inventory.ini -# run + +# run the full installation ansible-playbook -i ~/blog/inventory.ini --extra-vars "@~/blog/vars.yml" --tags "services,videochat,continuous" playbook.yaml ``` -# Just update +# Just an update ```bash -# services and videochat -ansible-playbook -i ~/blog/inventory.ini --extra-vars "@~/blog/vars.yml" --extra-vars "image_install_tag=changing" --tags "services,videochat" playbook.yaml - # only videochat ansible-playbook -i ~/blog/inventory.ini --extra-vars "@~/blog/vars.yml" --extra-vars "image_install_tag=changing" --tags "videochat" playbook.yaml ```