Skip to content

Commit a62c078

Browse files
authored
Merge pull request #547 from opencrvs/fix-disk-encryption-bug
Force disk encryption
2 parents 5114ded + 9985b13 commit a62c078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playbook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@
5252
5353
[Install]
5454
WantedBy=multi-user.target
55-
when: st.stat.exists and encrypt_data
55+
when: encryptedFileSystemPostCheck.stat.exists
5656

5757
- name: 'Setup systemd to mount encrypted folder'
5858
shell: systemctl daemon-reload && systemctl enable reboot.service
59-
when: st.stat.exists and encrypt_data
59+
when: encryptedFileSystemPostCheck.stat.exists
6060

6161
# MOSIP integration requires wireguard and some secrets to be installed
6262
# Here is an example configuration that we use on our 3 node demo production environment

0 commit comments

Comments
 (0)