summaryrefslogtreecommitdiffstats
path: root/roles/common-LDAP
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-10-28 18:42:15 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-10-28 18:42:15 +0100
commitdb3f3df89acc33740af35b4860b23aebce6aff62 (patch)
treea4d121cd95ea208be1dffff4b41febbd3e13dadd /roles/common-LDAP
parent3ee71788fc14b245f46d85c14d7f9917227434bb (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.yml2
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