1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

Fix Ansible script for production

This commit is contained in:
Yohann D'ANELLO
2020-09-04 22:37:18 +02:00
parent 4ddd763886
commit 0f47412c38
10 changed files with 14 additions and 164 deletions

View File

@ -1,18 +1,20 @@
#!/usr/bin/env ansible-playbook
---
- hosts: bde-nk20-beta.adh.crans.org
- hosts: bde-note.adh.crans.org
vars_prompt:
- name: DB_PASSWORD
prompt: "Password of the database"
private: yes
vars:
mirror: deb.debian.org
note:
server_name: bde-note.adh.crans.org
roles:
- 1-apt-basic
- 2-nk20
- 3-pip
- 4-nginx
- 5-certbot
- 4-certbot
- 5-nginx
- 6-psql
- 7-postinstall