+ add install requirements example to readme

+ nginx site playbook without db
This commit is contained in:
2023-12-29 20:37:21 +03:00
parent 6270c71549
commit 371e8c671b
3 changed files with 20 additions and 1 deletions

View File

@ -6,6 +6,10 @@
Host debian10.dedic106-dhcp.dimti.ru
Port 22242
```
## Install needed ansible galaxy collections
```
ansible-galaxy install -g -f -r requirements.yml
```
# Usage
## Ping
`ansible debian10 -m ping -u root`

View File

@ -0,0 +1,15 @@
---
- import_playbook: root-account.yml
- import_playbook: debops/pki.yml
- import_playbook: debops/system_users.yml
- import_playbook: debops/php-prod.yml
- import_playbook: debops/nginx.yml
- import_playbook: debops/redis.yml
- import_playbook: own/var-www-set-ownerships.yml
- import_playbook: own/node-version-manager.yml
- import_playbook: own/nginx-auth.yml
- import_playbook: own/correct-paths-for-pct-enter.yml
# Import all other group playbooks in this file...
...

View File

@ -12,7 +12,7 @@ done
usage() {
echo "Usage: run-vps-playbook.sh server playbook [site_name]"
echo "server - domain or ip adress of the vps server"
echo "server - domain or ip address of the vps server"
echo "site_name - site name"
echo "playbook - playbook file"
}