ansible-role-generate-tls-c.../inventory.yml
Blallo 0bcb4b89b6
Optional tld
When updating /etc/hosts to add the hosts in the inventory, also add the name
postfixed with a configurable tld.
2021-01-24 18:37:15 +01:00

21 lines
529 B
YAML

---
all:
hosts:
srv1:
ansible_host: 192.168.123.30
srv2:
ansible_host: 192.168.123.31
vars:
gen_tls_cert_dir: ./certs
gen_tls_generate_ca_cert: true
gen_tls_generate_client_cert: true
gen_tls_generate_server_cert: true
gen_tls_ca_email: me@example.org
gen_tls_ca_country: EU
gen_tls_ca_state: Italy
gen_tls_ca_locality: Rome
gen_tls_ca_organization: Example Inc.
gen_tls_ca_organizationalunit: SysAdmins
gen_tls_populate_etc_hosts: yes
gen_tls_tld: example