Compare commits
2 commits
b845d6bc51
...
38b8ee075f
Author | SHA1 | Date | |
---|---|---|---|
38b8ee075f | |||
8b59e22b7d |
3 changed files with 13 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
- import_playbook: consul-server.yml
|
||||
- import_playbook: vault-server.yml
|
||||
- import_playbook: consul-client.yml
|
||||
- import_playbook: docker.yml
|
||||
- import_playbook: nomad.yml
|
||||
- import_playbook: nexus.yml
|
||||
- import_playbook: lnd.yml
|
||||
|
|
|
@ -85,6 +85,7 @@
|
|||
VAULT_ADDR: https://vault.service.masked.name:8200
|
||||
VAULT_TOKEN: "{{ lookup('file', lookup('env', 'HOME') + '/.vault-token') }}"
|
||||
VAULT_FORMAT: json
|
||||
VAULT_CACERT: /etc/ssl/certs/MaskedName_Root_CA.crt
|
||||
register: cert_data
|
||||
when: exp.rc != 0
|
||||
|
||||
|
|
|
@ -31,4 +31,15 @@
|
|||
- docker-ce
|
||||
- docker-ce-cli
|
||||
- containerd.io
|
||||
|
||||
- name: ensure docker certs directory exists
|
||||
file:
|
||||
path: /etc/docker/certs.d/docker.service.{{ consul_domain }}:8082
|
||||
state: directory
|
||||
|
||||
- name: symlink ca cert
|
||||
file:
|
||||
src: /etc/pki/certs/{{ vault_ca_cert_name }}
|
||||
dest: /etc/docker/certs.d/docker.service.{{ consul_domain }}:8082/ca.crt
|
||||
state: link
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue