1
0
mirror of https://github.com/openshift/openshift-ansible.git synced 2026-02-05 06:46:04 +01:00

Merge pull request #12482 from yuvalk/ipsec-install

ipsec: edit /etc/ipsec.conf to modify nssdir
This commit is contained in:
Patrick Dillon
2024-02-07 14:32:39 -05:00
committed by GitHub

View File

@@ -117,6 +117,17 @@
name: "ipsec"
enabled: yes
- name: add nssdir to ipsec.conf
ansible.builtin.lineinfile:
path: /etc/ipsec.conf
insertafter: 'config setup'
line: "\tnssdir=/var/lib/ipsec/nss"
- name: create nssdir
file:
path: /var/lib/ipsec/nss
state: directory
# persistent storage in journal is needed for MachineConfig to work
- name: Enable persistent storage on journal
ini_file: