LDAP directories and files changes owner during deploy
Opis
Taski:
- create data directory
- copy certificate files
za każdym deplojem raportują stan changed ponieważ zmieniają właściciela z 911 na 999.
Logi
TASK [ldap : create data directory] *********************************************************************************************************************************************************************************************
Friday 18 February 2022 07:23:24 +0000 (0:00:00.086) 0:01:49.046 *******
--- before
+++ after
@@ -1,5 +1,5 @@
{
- "group": 911,
- "owner": 911,
+ "group": 999,
+ "owner": 999,
"path": "/var/lib/users/ldap/config"
}
changed: [users01] => (item=/var/lib/users/ldap/config)
--- before
+++ after
@@ -1,5 +1,5 @@
{
- "group": 911,
- "owner": 911,
+ "group": 999,
+ "owner": 999,
"path": "/var/lib/users/ldap/database"
}
changed: [users01] => (item=/var/lib/users/ldap/database)
--- before
+++ after
@@ -1,5 +1,5 @@
{
- "group": 911,
- "owner": 911,
+ "group": 999,
+ "owner": 999,
"path": "/var/lib/users/ldap/certs/"
}
changed: [users01] => (item=/var/lib/users/ldap/certs/)
ok: [users01] => (item=/var/lib/users/ldap/backup/)
TASK [ldap : copy certificate files] ********************************************************************************************************************************************************************************************
Friday 18 February 2022 07:23:26 +0000 (0:00:01.863) 0:01:50.909 *******
--- before
+++ after
@@ -1,5 +1,5 @@
{
- "group": 911,
- "owner": 911,
+ "group": 999,
+ "owner": 999,
"path": "/var/lib/users/ldap/certs/ldap.crt"
}
changed: [users01] => (item=/var/lib/users/ldap/certs/ldap.crt)
--- before
+++ after
@@ -1,5 +1,5 @@
{
- "group": 911,
- "owner": 911,
+ "group": 999,
+ "owner": 999,
"path": "/var/lib/users/ldap/certs/ldap.key"
}
changed: [users01] => (item=/var/lib/users/ldap/certs/ldap.key)
--- before
+++ after
@@ -1,5 +1,5 @@
{
- "group": 911,
- "owner": 911,
+ "group": 999,
+ "owner": 999,
"path": "/var/lib/users/ldap/certs/ldap.ca"
}
changed: [users01] => (item=/var/lib/users/ldap/certs/ldap.ca)