mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-28 13:33:57 +00:00
Special notes: Hash the cacert in the ca_path as OpenSSL needs symlinks for ca certificates from their symlinks to their filename if specifying a directory. In case ieee802_1x.ca_path is specified but not supported by NetworkManager, fail to ensure the setting is not silently ignored. References: https://stackoverflow.com/questions/25889341/what-is-the-equivalent-of-unix-c-rehash-command-script-on-linux https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/448 Co-authored-by: Till Maas <opensource@till.name>
11 lines
244 B
YAML
11 lines
244 B
YAML
- include_tasks: tasks/setup_802_1x_server.yml
|
|
- name: Copy client certs
|
|
copy:
|
|
src: "{{ item }}"
|
|
dest: "/etc/pki/tls/{{ item }}"
|
|
mode: 0644
|
|
with_items:
|
|
- client.key
|
|
- client.key.nocrypt
|
|
- client.pem
|
|
- cacert.pem
|