From db3f3df89acc33740af35b4860b23aebce6aff62 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 28 Oct 2015 18:42:15 +0100 Subject: genkeypair: use install(1) for atomic file creation with permission mode. --- roles/common-LDAP/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/common-LDAP/tasks') 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 -- cgit v1.2.3