diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-11-15 14:06:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-15 14:06:31 -0500 |
commit | bedbf78b8d2a71bd11301b555aa7a3c34c7bac5c (patch) | |
tree | be25d717c47f8e5b2ef495f15d9cedc32c8b15d2 /roles/openshift_node_certificates | |
parent | 719e608f81fbf539da0dca16234ef271b9cbe3d3 (diff) | |
parent | 346ce4fc595ed618e589666a87b441b40e392e73 (diff) | |
download | openshift-bedbf78b8d2a71bd11301b555aa7a3c34c7bac5c.tar.gz openshift-bedbf78b8d2a71bd11301b555aa7a3c34c7bac5c.tar.bz2 openshift-bedbf78b8d2a71bd11301b555aa7a3c34c7bac5c.tar.xz openshift-bedbf78b8d2a71bd11301b555aa7a3c34c7bac5c.zip |
Merge pull request #5968 from mgugino-upstream-stage/version-scrub
Removed old version code
Diffstat (limited to 'roles/openshift_node_certificates')
-rw-r--r-- | roles/openshift_node_certificates/tasks/main.yml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/roles/openshift_node_certificates/tasks/main.yml b/roles/openshift_node_certificates/tasks/main.yml index 1a775178d..97f1fbbdd 100644 --- a/roles/openshift_node_certificates/tasks/main.yml +++ b/roles/openshift_node_certificates/tasks/main.yml @@ -66,9 +66,7 @@ --signer-key={{ openshift_ca_key }} --signer-serial={{ openshift_ca_serial }} --user=system:node:{{ hostvars[item].openshift.common.hostname }} - {% if openshift_version | oo_version_gte_3_5_or_1_5(openshift.common.deployment_type) | bool %} --expire-days={{ openshift_node_cert_expire_days }} - {% endif %} args: creates: "{{ openshift_generated_configs_dir }}/node-{{ hostvars[item].openshift.common.hostname }}" with_items: "{{ hostvars @@ -82,9 +80,7 @@ {{ hostvars[openshift_ca_host].openshift.common.client_binary }} adm ca create-server-cert --cert={{ openshift_generated_configs_dir }}/node-{{ hostvars[item].openshift.common.hostname }}/server.crt --key={{ openshift_generated_configs_dir }}/node-{{ hostvars[item].openshift.common.hostname }}/server.key - {% if openshift_version | oo_version_gte_3_5_or_1_5(openshift.common.deployment_type) | bool %} --expire-days={{ openshift_node_cert_expire_days }} - {% endif %} --overwrite=true --hostnames={{ hostvars[item].openshift.common.hostname }},{{ hostvars[item].openshift.common.public_hostname }},{{ hostvars[item].openshift.common.ip }},{{ hostvars[item].openshift.common.public_ip }} --signer-cert={{ openshift_ca_cert }} |