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 ```