Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelienmaury committed Mar 22, 2024
1 parent 00b3b5b commit 62d89da
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/consul/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ hs_consul_node_cert_fullchain: "{{ hs_consul_local_secrets_dir }}/self.fullchain
# * Path to local node certificate private key.
hs_consul_node_cert_private_key: "{{ hs_consul_local_secrets_dir }}/self.cert.key"


# TODO:

Check failure on line 31 in roles/consul/defaults/main.yml

View workflow job for this annotation

GitHub Actions / ansible-lint

yaml[comments-indentation]

Comment not indented like content
#__hs_consul_self_private_key: "{{ __hs_consul_tls_dir }}/self.cert.key"

Check failure on line 32 in roles/consul/defaults/main.yml

View workflow job for this annotation

GitHub Actions / ansible-lint

yaml[comments]

Missing starting space in comment
#__hs_consul_self_certificate: "{{ __hs_consul_tls_dir }}/self.fullchain.cert.pem"

Check failure on line 33 in roles/consul/defaults/main.yml

View workflow job for this annotation

GitHub Actions / ansible-lint

yaml[comments]

Missing starting space in comment


tf_module_name: "consul_config"
hs_tf_action: apply

Expand Down
1 change: 1 addition & 0 deletions roles/consul/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
systemd:
name: consul
state: restarted
daemon_reload: true
enabled: true

- name: Update ca trust
Expand Down
6 changes: 6 additions & 0 deletions roles/consul/tasks/_tf_configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
datacenter: "{{ hs_consul_datacenter_name }}"
token: "{{ hs_consul_root.SecretID }}"
ca_file: "{{ hs_consul_use_custom_ca | ternary(hs_consul_local_ca_cert, '') | default(omit, true) }}"
environment:
TF_CLI_ARGS: ""
TF_CLI_ARGS_init: ""
TF_CLI_ARGS_plan: ""
TF_CLI_ARGS_apply: ""
TF_CLI_ARGS_destroy: ""
register: tf_result
delegate_to: localhost
become: false
Expand Down

0 comments on commit 62d89da

Please sign in to comment.