diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-10-28 18:42:15 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-10-28 18:42:15 +0100 |
commit | db3f3df89acc33740af35b4860b23aebce6aff62 (patch) | |
tree | a4d121cd95ea208be1dffff4b41febbd3e13dadd /roles/common-LDAP | |
parent | 3ee71788fc14b245f46d85c14d7f9917227434bb (diff) |
genkeypair: use install(1) for atomic file creation with permission mode.
Diffstat (limited to 'roles/common-LDAP')
-rw-r--r-- | roles/common-LDAP/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/common-LDAP/tasks/main.yml b/roles/common-LDAP/tasks/main.yml index aff0e58..5b7143f 100644 --- a/roles/common-LDAP/tasks/main.yml +++ b/roles/common-LDAP/tasks/main.yml @@ -42,7 +42,7 @@ --ou=LDAP {{ item.ou }} --cn={{ item.name }} --usage=digitalSignature,keyEncipherment,keyCertSign -t rsa -b 4096 -h sha256 - --chown="root:openldap" --chmod=0640 + --owner=root --group=openldap --mode=0640 register: r2 changed_when: r2.rc == 0 failed_when: r2.rc > 1 |