2022-08-22 14:32:32 +00:00
|
|
|
Inventory example:
|
|
|
|
|
2022-09-06 11:31:23 +00:00
|
|
|
cacert_ca_name: "myCA"
|
2022-08-22 14:32:32 +00:00
|
|
|
cacert_ca_trust_anchors_update: True
|
|
|
|
|
2022-09-06 11:31:23 +00:00
|
|
|
cacert_ca_copy_to:
|
|
|
|
hosts:
|
|
|
|
- { host: "server-1", path: "/opt/certs" }
|
|
|
|
- { host: "server-2", path: "/opt/certs" }
|
|
|
|
groups:
|
|
|
|
- { group: "cacert_clients", path: "/opt/certs" }
|
|
|
|
- { group: "mygroupname", path: "/opt/certs" }
|
|
|
|
|
|
|
|
cacert_cn_certs:
|
|
|
|
- name: mycertname.example.com
|
|
|
|
hosts:
|
|
|
|
- { host: "server-1", path: "/opt/certs" }
|
|
|
|
- { host: "server-2", path: "/opt/certs" }
|
|
|
|
- { host: "server-1", path: "/opt/certs", concat: "pem" }
|
|
|
|
- { host: "server-2", path: "/opt/certs", concat: "pem" }
|
|
|
|
groups:
|
|
|
|
- { group: "cacert_clients", path: "/opt/certs" }
|
|
|
|
- { group: "mygroupname", path: "/opt/certs" }
|
|
|
|
|
|
|
|
cacert_group_certs:
|
|
|
|
- name: mygroupcert
|
2022-09-09 10:10:33 +00:00
|
|
|
append_groups:
|
2022-09-06 11:31:23 +00:00
|
|
|
- consul
|
|
|
|
- patroni
|
|
|
|
hosts:
|
|
|
|
- { host: "server-1", path: "/opt/certs" }
|
|
|
|
- { host: "server-2", path: "/opt/certs" }
|
|
|
|
- { host: "server-1", path: "/opt/certs", concat: "pem" }
|
|
|
|
- { host: "server-2", path: "/opt/certs", concat: "pem" }
|
|
|
|
groups:
|
|
|
|
- { group: "cacert_clients", path: "/opt/certs" }
|
|
|
|
- { group: "mygroupname", path: "/opt/certs" }
|
|
|
|
|