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

Rework on Ansible config, this is now more universal

This commit is contained in:
Yohann D'ANELLO
2020-09-06 10:32:52 +02:00
parent 2a824cadf6
commit 1a28e876b8
10 changed files with 90 additions and 35 deletions

View File

@ -1,15 +1,13 @@
#!/usr/bin/env ansible-playbook
---
- hosts: bde-note.adh.crans.org
- hosts: server
vars_prompt:
- name: DB_PASSWORD
prompt: "Password of the database"
prompt: "Password of the database (leave it blank if this is a reinstallation)"
private: yes
vars:
mirror: deb.debian.org
note:
server_name: note.crans.org
roles:
- 1-apt-basic
- 2-nk20