Skip to content

Commit

Permalink
https://github.com/ansible/ansible-lint/pull/2505
Browse files Browse the repository at this point in the history
  • Loading branch information
hswong3i committed Sep 30, 2022
1 parent f49ee73 commit cb736ea
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
vars:
ansible_python_interpreter: "python3"
openssl_privatekey:
community.crypto.openssl_privatekey:
path: "{{ etcd_trusted_ca_file | splitext | first }}.key"
when: inventory_hostname == ansible_play_hosts[0]
delegate_to: "{{ ansible_play_hosts[0] }}"
Expand All @@ -114,7 +114,7 @@
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
vars:
ansible_python_interpreter: "python3"
openssl_csr:
community.crypto.openssl_csr:
path: "{{ etcd_trusted_ca_file | splitext | first }}.csr"
privatekey_path: "{{ etcd_trusted_ca_file | splitext | first }}.key"
common_name: "{{ ansible_play_hosts[0] }}"
Expand All @@ -131,7 +131,7 @@
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
vars:
ansible_python_interpreter: "python3"
openssl_certificate:
community.crypto.openssl_certificate:
path: "{{ etcd_trusted_ca_file }}"
csr_path: "{{ etcd_trusted_ca_file | splitext | first }}.csr"
privatekey_path: "{{ etcd_trusted_ca_file | splitext | first }}.key"
Expand All @@ -146,7 +146,7 @@
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
vars:
ansible_python_interpreter: "python3"
openssl_privatekey:
community.crypto.openssl_privatekey:
path: "{{ etcd_key_file }}"
when: inventory_hostname == ansible_play_hosts[0]
delegate_to: "{{ ansible_play_hosts[0] }}"
Expand All @@ -158,7 +158,7 @@
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
vars:
ansible_python_interpreter: "python3"
openssl_csr:
community.crypto.openssl_csr:
path: "{{ etcd_cert_file | splitext | first }}.csr"
privatekey_path: "{{ etcd_key_file }}"
common_name: "{{ etcd_csr_common_name }}"
Expand All @@ -184,7 +184,7 @@
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
vars:
ansible_python_interpreter: "python3"
openssl_certificate:
community.crypto.openssl_certificate:
path: "{{ etcd_cert_file }}"
csr_path: "{{ etcd_cert_file | splitext | first }}.csr"
privatekey_path: "{{ etcd_key_file }}"
Expand All @@ -201,7 +201,7 @@
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
vars:
ansible_python_interpreter: "python3"
openssl_privatekey:
community.crypto.openssl_privatekey:
path: "{{ etcd_peer_trusted_ca_file | splitext | first }}.key"
when: inventory_hostname == ansible_play_hosts[0]
delegate_to: "{{ ansible_play_hosts[0] }}"
Expand All @@ -213,7 +213,7 @@
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
vars:
ansible_python_interpreter: "python3"
openssl_csr:
community.crypto.openssl_csr:
path: "{{ etcd_peer_trusted_ca_file | splitext | first }}.csr"
privatekey_path: "{{ etcd_peer_trusted_ca_file | splitext | first }}.key"
common_name: "{{ ansible_play_hosts[0] }}"
Expand All @@ -230,7 +230,7 @@
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
vars:
ansible_python_interpreter: "python3"
openssl_certificate:
community.crypto.openssl_certificate:
path: "{{ etcd_peer_trusted_ca_file }}"
csr_path: "{{ etcd_peer_trusted_ca_file | splitext | first }}.csr"
privatekey_path: "{{ etcd_peer_trusted_ca_file | splitext | first }}.key"
Expand All @@ -245,7 +245,7 @@
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
vars:
ansible_python_interpreter: "python3"
openssl_privatekey:
community.crypto.openssl_privatekey:
path: "{{ etcd_peer_key_file }}"
when: inventory_hostname == ansible_play_hosts[0]
delegate_to: "{{ ansible_play_hosts[0] }}"
Expand All @@ -257,7 +257,7 @@
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
vars:
ansible_python_interpreter: "python3"
openssl_csr:
community.crypto.openssl_csr:
path: "{{ etcd_peer_cert_file | splitext | first }}.csr"
privatekey_path: "{{ etcd_peer_key_file }}"
common_name: "{{ etcd_peer_csr_common_name }}"
Expand All @@ -283,7 +283,7 @@
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
vars:
ansible_python_interpreter: "python3"
openssl_certificate:
community.crypto.openssl_certificate:
path: "{{ etcd_peer_cert_file }}"
csr_path: "{{ etcd_peer_cert_file | splitext | first }}.csr"
privatekey_path: "{{ etcd_peer_key_file }}"
Expand Down

0 comments on commit cb736ea

Please sign in to comment.