Browse Source

+ add install requirements example to readme

+ nginx site playbook without db
master
dimti 12 months ago
parent
commit
371e8c671b
  1. 4
      README.md
  2. 15
      playbooks/nginx-site-without-db.yml
  3. 2
      run-vps-playbook.sh

4
README.md

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

15
playbooks/nginx-site-without-db.yml

@ -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...
...

2
run-vps-playbook.sh

@ -12,7 +12,7 @@ done
usage() { usage() {
echo "Usage: run-vps-playbook.sh server playbook [site_name]" 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 "site_name - site name"
echo "playbook - playbook file" echo "playbook - playbook file"
} }

Loading…
Cancel
Save