Skip to content

Commit 9352dad

Browse files
committed
fix: resolve issues with ansible-lint
1 parent 9b62d9b commit 9352dad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

roles/vault/tasks/consul.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
CONSUL_CLIENT_INTERFACE: "{{ consul_bind_interface }}"
1515
command: >
1616
consul agent
17-
-bind "{{ hostvars[inventory_hostname].ansible_facts[consul_bind_interface | replace('-','_')].ipv4.address }}"
17+
-bind "{{ hostvars[inventory_hostname].ansible_facts[consul_bind_interface | replace('-', '_')].ipv4.address }}"
1818
-data-dir /consul/data
1919
-server
2020
-http-port "{{ consul_bind_port }}"
2121
-bootstrap-expect "{{ ansible_play_hosts | length }}"
2222
{% for host in ansible_play_hosts %}
2323
{% if host != inventory_hostname %}
24-
-retry-join "{{ hostvars[host].ansible_facts[consul_bind_interface | replace('-','_')].ipv4.address }}"
24+
-retry-join "{{ hostvars[host].ansible_facts[consul_bind_interface | replace('-', '_')].ipv4.address }}"
2525
{% endif %}
2626
{% endfor %}
2727
become: true

roles/vault_pki/tasks/intermediate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
{{ intermediate_ca_csr_signed.data.certificate }}
9090
{{ intermediate_ca_csr_signed.data.issuing_ca }}
9191
{{ intermediate_ca_csr.data.private_key }}
92-
dest: "{{ vault_pki_certificates_directory }}/{{ vault_pki_intermediate_ca_name |replace(' ', '-') }}.pem"
92+
dest: "{{ vault_pki_certificates_directory }}/{{ vault_pki_intermediate_ca_name | replace(' ', '-') }}.pem"
9393
mode: "0600"
9494
delegate_to: "{{ vault_pki_write_certificates_host }}"
9595
when:

0 commit comments

Comments
 (0)