-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprepare_host.yaml
27 lines (27 loc) · 943 Bytes
/
prepare_host.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
- hosts: localhost
gather_facts: no
vars_prompt:
- name: target_host
prompt: Enter the IP of the server where the Sample Platform should be deployed to
private: no
- name: domain_name
prompt: Enter the domain name (e.g. sampleplatform.ccextractor.org) that will be used for hosting the Sample Platform (use IP or "localhost" if local install)
private: no
- name: lets_encrypt
prompt: Should Let's Encrypt be used to obtain a certificate? True (default) or False (e.g. if local install)
default: true
private: no
- name: database_name
prompt: How should the database be named?
default: sample_platform
private: no
- name: database_user
prompt: How should the database user be named?
default: sample_platform
private: no
tasks:
- name: Create the inventory file
template:
src: inventory.j2
dest: inventory.yaml