Group ansible hosts

This commit is contained in:
Yohann D'ANELLO 2020-09-06 12:32:17 +02:00
parent fcd1bb98a8
commit ae31cdf15e
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env ansible-playbook
---
- hosts: server
- hosts: all
vars_prompt:
- name: DB_PASSWORD
prompt: "Password of the database (leave it blank to skip database init)"

View File

@ -1,6 +1,8 @@
[server]
[dev]
bde3-virt.adh.crans.org
bde-nk20-beta.adh.crans.org
[prod]
bde-note.adh.crans.org
[all:vars]