2020-04-19 03:28:50 +02:00
|
|
|
---
|
|
|
|
- hosts: test
|
|
|
|
roles:
|
|
|
|
- common
|
|
|
|
- nginx
|
|
|
|
- mariadb
|
|
|
|
|
|
|
|
# déclaration de la variables globales
|
|
|
|
vars:
|
|
|
|
email: contact@iloth.net
|
|
|
|
http_port: 80
|
|
|
|
domain: web1.iloth.net
|
|
|
|
cthostname: web1
|
2021-01-01 23:39:04 +01:00
|
|
|
create_user: false
|
|
|
|
|
2020-04-19 03:28:50 +02:00
|
|
|
# ici, on demande directement à l'exécution de renseigner une variable
|
|
|
|
vars_prompt:
|
|
|
|
- name: "mysqlRootPassword"
|
|
|
|
prompt: "Enter your MySQL root Password"
|