Skip to content

Commit

Permalink
Writing TLS config for bootstrap and client nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
dggreenbaum committed Feb 18, 2017
1 parent 888827a commit e2285fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tasks/tls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
- name: Copy server key
copy: "src={{ consul_src_files }}/{{ consul_server_key }} dest={{ consul_tls_dir }}/{{ consul_server_key }}"
when: consul_copy_keys == true

- name: Server TLS configuration
template: "src=config_server_tls.json.j2 dest={{ consul_config_path }}/server/config_server_tls.json"

- name: Write TLS configuration
template: "src=config_tls.json.j2 dest={{ consul_config_path }}/{{ item }}/config_tls.json"
with_items:
- "bootstrap"
- "client"
- "server"
File renamed without changes.

0 comments on commit e2285fe

Please sign in to comment.