summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxb <bittmanmax@gmail.com>2022-12-30 18:44:09 -0800
committerMaxb <bittmanmax@gmail.com>2022-12-30 18:44:09 -0800
commit1097e5a0ab36bb2edfe4e841e1ec48a003c5b98b (patch)
treead63bf5582f2c0ec023baae705f888215936f7c2
parentfcc827674fae7a6c3625e7462d06ca4db7e5569b (diff)
Allow for missing old_client_ca.crt file
-rw-r--r--config/roles/openvpn/tasks/credentials.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/roles/openvpn/tasks/credentials.yml b/config/roles/openvpn/tasks/credentials.yml
index 316d621..b7d1c26 100644
--- a/config/roles/openvpn/tasks/credentials.yml
+++ b/config/roles/openvpn/tasks/credentials.yml
@@ -46,7 +46,7 @@
- name: Install client certificate generating and API endpoint CA bundle
copy:
- content: "{{ lookup('file', '{{ credentials_dir }}/common/old_client_ca.crt') }}\n{{lookup('file', '{{ credentials_dir }}/common/api_ca.crt') }}\n{{ lookup('file', '{{ credentials_dir }}/common/client_ca.crt') }}\n"
+ content: "{{ lookup('file', '{{ credentials_dir }}/common/old_client_ca.crt', errors='ignore') }}\n{{lookup('file', '{{ credentials_dir }}/common/api_ca.crt') }}\n{{ lookup('file', '{{ credentials_dir }}/common/client_ca.crt') }}\n"
dest: /etc/leap/ca/leap_ca_bundle.crt
mode: 0444
notify: