openvpn: Fix mode of shellpki script
gitea/ansible-roles/pipeline/head This commit looks good Details

This commit is contained in:
Jérémy Dubois 2022-12-13 19:37:54 +01:00
parent 9918776286
commit 91b40ce72f
3 changed files with 3 additions and 2 deletions

View File

@ -55,6 +55,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* varnish: fix missing state, that blocked the task
* proftpd: Fix format of public key files controlled by ansible
* proftpd: Fix mode of public key directory and files (they have to be accessible by proftpd:nobody)
* openvpn: Fix mode of shellpki script
### Removed

View File

@ -48,7 +48,7 @@
group: "{{ item.group }}"
with_items:
- { source: "openssl.cnf", destination: "/etc/shellpki/openssl.cnf", mode: "0640", owner: "shellpki", group: "shellpki" }
- { source: "shellpki", destination: "/usr/local/sbin/shellpki", mode: "0755", owner: "root", group: "root" }
- { source: "shellpki", destination: "/usr/local/sbin/shellpki", mode: "0750", owner: "root", group: "root" }
- name: Add sudo rights
lineinfile:

View File

@ -38,7 +38,7 @@
group: "{{ item.group }}"
with_items:
- { source: "openssl.cnf", destination: "/etc/shellpki/openssl.cnf", mode: "0640", owner: "_shellpki", group: "_shellpki" }
- { source: "shellpki", destination: "/usr/local/sbin/shellpki", mode: "0755", owner: "root", group: "wheel" }
- { source: "shellpki", destination: "/usr/local/sbin/shellpki", mode: "0750", owner: "root", group: "wheel" }
- name: Add sudo rights
lineinfile: