-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
``` |