Skip to content

Instantly share code, notes, and snippets.

@sdabbour-stratio
Created June 2, 2020 15:09
Show Gist options
  • Save sdabbour-stratio/d428079f5004c4985cc93b330689fe23 to your computer and use it in GitHub Desktop.
Save sdabbour-stratio/d428079f5004c4985cc93b330689fe23 to your computer and use it in GitHub Desktop.
$$$ Creating Tenant $$$
CMD: ['/bin/bash', '-i', '-c', 'daedalus tenant adv-chu-poc.json --tags users,groups,gosec,tenant,calico,vault,permitted-roles']
Executing a command as a subprocess
***********************************
CMD: ['/bin/bash', '-i', '-c', 'daedalus tenant adv-chu-poc.json --tags users,groups,gosec,tenant,calico,vault,permitted-roles']
STDOUT:
bash: cannot set terminal process group (1): Not a tty
bash: no job control in this shell
Validating /workspace/adv-chu-poc.json
Validating tenant name - OK
Validating user operador - OK
Validating user Carlos.Jimenez.Diaz - OK
Validating user Alberto.FernandezZazo - OK
Validating user mario.berrojalbiz - OK
Validating user jennifer.hernandez - OK
Validating user rbesteiro - OK
Validating users - OK
PLAY [ldap] ********************************************************************
TASK [create-tenants : Add users to ldap] **************************************
Tuesday 02 June 2020 07:48:19 +0000 (0:00:00.258) 0:00:00.258 **********
included: /stratio/ansible/roles/create-tenants/tasks/ldap_user.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/ldap_user.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/ldap_user.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/ldap_user.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/ldap_user.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/ldap_user.yml for bootstrap
TASK [create-tenants : Get last uidNumber] *************************************
Tuesday 02 June 2020 07:48:19 +0000 (0:00:00.257) 0:00:00.516 **********
ok: [bootstrap]
TASK [create-tenants : Check if ldap user operador exists] *********************
Tuesday 02 June 2020 07:48:20 +0000 (0:00:01.170) 0:00:01.687 **********
ok: [bootstrap]
TASK [create-tenants : Render ldapuser template] *******************************
Tuesday 02 June 2020 07:48:21 +0000 (0:00:00.322) 0:00:02.009 **********
skipping: [bootstrap]
TASK [create-tenants : Add user operador to ldap] ******************************
Tuesday 02 June 2020 07:48:21 +0000 (0:00:00.109) 0:00:02.118 **********
skipping: [bootstrap]
TASK [create-tenants : Get last uidNumber] *************************************
Tuesday 02 June 2020 07:48:21 +0000 (0:00:00.097) 0:00:02.216 **********
ok: [bootstrap]
TASK [create-tenants : Check if ldap user Carlos.Jimenez.Diaz exists] **********
Tuesday 02 June 2020 07:48:21 +0000 (0:00:00.334) 0:00:02.550 **********
ok: [bootstrap]
TASK [create-tenants : Render ldapuser template] *******************************
Tuesday 02 June 2020 07:48:22 +0000 (0:00:00.308) 0:00:02.859 **********
skipping: [bootstrap]
TASK [create-tenants : Add user Carlos.Jimenez.Diaz to ldap] *******************
Tuesday 02 June 2020 07:48:22 +0000 (0:00:00.085) 0:00:02.944 **********
skipping: [bootstrap]
TASK [create-tenants : Get last uidNumber] *************************************
Tuesday 02 June 2020 07:48:22 +0000 (0:00:00.098) 0:00:03.042 **********
ok: [bootstrap]
TASK [create-tenants : Check if ldap user Alberto.FernandezZazo exists] ********
Tuesday 02 June 2020 07:48:22 +0000 (0:00:00.343) 0:00:03.386 **********
ok: [bootstrap]
TASK [create-tenants : Render ldapuser template] *******************************
Tuesday 02 June 2020 07:48:22 +0000 (0:00:00.304) 0:00:03.690 **********
skipping: [bootstrap]
TASK [create-tenants : Add user Alberto.FernandezZazo to ldap] *****************
Tuesday 02 June 2020 07:48:22 +0000 (0:00:00.091) 0:00:03.781 **********
skipping: [bootstrap]
TASK [create-tenants : Get last uidNumber] *************************************
Tuesday 02 June 2020 07:48:23 +0000 (0:00:00.100) 0:00:03.882 **********
ok: [bootstrap]
TASK [create-tenants : Check if ldap user mario.berrojalbiz exists] ************
Tuesday 02 June 2020 07:48:23 +0000 (0:00:00.328) 0:00:04.210 **********
ok: [bootstrap]
TASK [create-tenants : Render ldapuser template] *******************************
Tuesday 02 June 2020 07:48:23 +0000 (0:00:00.318) 0:00:04.528 **********
skipping: [bootstrap]
TASK [create-tenants : Add user mario.berrojalbiz to ldap] *********************
Tuesday 02 June 2020 07:48:23 +0000 (0:00:00.102) 0:00:04.631 **********
skipping: [bootstrap]
TASK [create-tenants : Get last uidNumber] *************************************
Tuesday 02 June 2020 07:48:23 +0000 (0:00:00.086) 0:00:04.717 **********
ok: [bootstrap]
TASK [create-tenants : Check if ldap user jennifer.hernandez exists] ***********
Tuesday 02 June 2020 07:48:24 +0000 (0:00:00.342) 0:00:05.060 **********
ok: [bootstrap]
TASK [create-tenants : Render ldapuser template] *******************************
Tuesday 02 June 2020 07:48:24 +0000 (0:00:00.311) 0:00:05.371 **********
skipping: [bootstrap]
TASK [create-tenants : Add user jennifer.hernandez to ldap] ********************
Tuesday 02 June 2020 07:48:24 +0000 (0:00:00.091) 0:00:05.463 **********
skipping: [bootstrap]
TASK [create-tenants : Get last uidNumber] *************************************
Tuesday 02 June 2020 07:48:24 +0000 (0:00:00.169) 0:00:05.632 **********
ok: [bootstrap]
TASK [create-tenants : Check if ldap user rbesteiro exists] ********************
Tuesday 02 June 2020 07:48:25 +0000 (0:00:00.334) 0:00:05.967 **********
ok: [bootstrap]
TASK [create-tenants : Render ldapuser template] *******************************
Tuesday 02 June 2020 07:48:25 +0000 (0:00:00.327) 0:00:06.294 **********
skipping: [bootstrap]
TASK [create-tenants : Add user rbesteiro to ldap] *****************************
Tuesday 02 June 2020 07:48:25 +0000 (0:00:00.102) 0:00:06.397 **********
skipping: [bootstrap]
PLAY [bootstrap] ***************************************************************
TASK [create-tenants : Get eos_auth token] *************************************
Tuesday 02 June 2020 07:48:25 +0000 (0:00:00.111) 0:00:06.509 **********
ok: [bootstrap]
TASK [create-tenants : Set eos_auth fact] **************************************
Tuesday 02 June 2020 07:48:28 +0000 (0:00:03.209) 0:00:09.718 **********
ok: [bootstrap]
TASK [create-tenants : Get all groups] *****************************************
Tuesday 02 June 2020 07:48:29 +0000 (0:00:00.094) 0:00:09.812 **********
ok: [bootstrap]
TASK [create-tenants : set_fact] ***********************************************
Tuesday 02 June 2020 07:48:38 +0000 (0:00:09.421) 0:00:19.234 **********
ok: [bootstrap]
TASK [create-tenants : Create groups in gosecmanagement] ***********************
Tuesday 02 June 2020 07:48:38 +0000 (0:00:00.136) 0:00:19.371 **********
included: /stratio/ansible/roles/create-tenants/tasks/group_gosec.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_gosec.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_gosec.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_gosec.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_gosec.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_gosec.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_gosec.yml for bootstrap
TASK [create-tenants : Set fact for users in group adv-chu-poc-governance-super-admins] ***
Tuesday 02 June 2020 07:48:38 +0000 (0:00:00.296) 0:00:19.667 **********
ok: [bootstrap]
TASK [create-tenants : Get group adv-chu-poc-governance-super-admins if it exists] ***
Tuesday 02 June 2020 07:48:38 +0000 (0:00:00.112) 0:00:19.780 **********
ok: [bootstrap]
TASK [create-tenants : set_fact] ***********************************************
Tuesday 02 June 2020 07:48:39 +0000 (0:00:00.456) 0:00:20.236 **********
ok: [bootstrap]
TASK [create-tenants : Add users to json array] ********************************
Tuesday 02 June 2020 07:48:39 +0000 (0:00:00.100) 0:00:20.337 **********
ok: [bootstrap]
TASK [create-tenants : Update group adv-chu-poc-governance-super-admins] *******
Tuesday 02 June 2020 07:48:39 +0000 (0:00:00.458) 0:00:20.795 **********
skipping: [bootstrap]
TASK [create-tenants : Create group adv-chu-poc-governance-super-admins] *******
Tuesday 02 June 2020 07:48:40 +0000 (0:00:00.106) 0:00:20.902 **********
skipping: [bootstrap]
TASK [create-tenants : Set fact for users in group adv-chu-poc-governance-admins] ***
Tuesday 02 June 2020 07:48:40 +0000 (0:00:00.100) 0:00:21.003 **********
ok: [bootstrap]
TASK [create-tenants : Get group adv-chu-poc-governance-admins if it exists] ***
Tuesday 02 June 2020 07:48:40 +0000 (0:00:00.113) 0:00:21.117 **********
ok: [bootstrap]
TASK [create-tenants : set_fact] ***********************************************
Tuesday 02 June 2020 07:48:40 +0000 (0:00:00.480) 0:00:21.597 **********
ok: [bootstrap]
TASK [create-tenants : Add users to json array] ********************************
Tuesday 02 June 2020 07:48:40 +0000 (0:00:00.104) 0:00:21.702 **********
ok: [bootstrap]
TASK [create-tenants : Update group adv-chu-poc-governance-admins] *************
Tuesday 02 June 2020 07:48:41 +0000 (0:00:00.297) 0:00:22.000 **********
skipping: [bootstrap]
TASK [create-tenants : Create group adv-chu-poc-governance-admins] *************
Tuesday 02 June 2020 07:48:41 +0000 (0:00:00.094) 0:00:22.094 **********
skipping: [bootstrap]
TASK [create-tenants : Set fact for users in group adv-chu-poc-governance-users] ***
Tuesday 02 June 2020 07:48:41 +0000 (0:00:00.112) 0:00:22.206 **********
ok: [bootstrap]
TASK [create-tenants : Get group adv-chu-poc-governance-users if it exists] ****
Tuesday 02 June 2020 07:48:41 +0000 (0:00:00.129) 0:00:22.335 **********
ok: [bootstrap]
TASK [create-tenants : set_fact] ***********************************************
Tuesday 02 June 2020 07:48:42 +0000 (0:00:00.566) 0:00:22.902 **********
ok: [bootstrap]
TASK [create-tenants : Add users to json array] ********************************
Tuesday 02 June 2020 07:48:42 +0000 (0:00:00.112) 0:00:23.014 **********
ok: [bootstrap]
TASK [create-tenants : Update group adv-chu-poc-governance-users] **************
Tuesday 02 June 2020 07:48:42 +0000 (0:00:00.321) 0:00:23.336 **********
skipping: [bootstrap]
TASK [create-tenants : Create group adv-chu-poc-governance-users] **************
Tuesday 02 June 2020 07:48:42 +0000 (0:00:00.105) 0:00:23.442 **********
skipping: [bootstrap]
TASK [create-tenants : Set fact for users in group adv-chu-poc-governance-viewers] ***
Tuesday 02 June 2020 07:48:42 +0000 (0:00:00.094) 0:00:23.537 **********
ok: [bootstrap]
TASK [create-tenants : Get group adv-chu-poc-governance-viewers if it exists] ***
Tuesday 02 June 2020 07:48:42 +0000 (0:00:00.115) 0:00:23.652 **********
ok: [bootstrap]
TASK [create-tenants : set_fact] ***********************************************
Tuesday 02 June 2020 07:48:43 +0000 (0:00:00.547) 0:00:24.199 **********
ok: [bootstrap]
TASK [create-tenants : Add users to json array] ********************************
Tuesday 02 June 2020 07:48:43 +0000 (0:00:00.107) 0:00:24.307 **********
ok: [bootstrap]
TASK [create-tenants : Update group adv-chu-poc-governance-viewers] ************
Tuesday 02 June 2020 07:48:43 +0000 (0:00:00.338) 0:00:24.645 **********
skipping: [bootstrap]
TASK [create-tenants : Create group adv-chu-poc-governance-viewers] ************
Tuesday 02 June 2020 07:48:43 +0000 (0:00:00.143) 0:00:24.789 **********
skipping: [bootstrap]
TASK [create-tenants : Set fact for users in group adv-chu-poc-gosec-admins] ***
Tuesday 02 June 2020 07:48:44 +0000 (0:00:00.092) 0:00:24.881 **********
ok: [bootstrap]
TASK [create-tenants : Get group adv-chu-poc-gosec-admins if it exists] ********
Tuesday 02 June 2020 07:48:44 +0000 (0:00:00.116) 0:00:24.997 **********
ok: [bootstrap]
TASK [create-tenants : set_fact] ***********************************************
Tuesday 02 June 2020 07:48:44 +0000 (0:00:00.489) 0:00:25.487 **********
ok: [bootstrap]
TASK [create-tenants : Add users to json array] ********************************
Tuesday 02 June 2020 07:48:44 +0000 (0:00:00.099) 0:00:25.586 **********
ok: [bootstrap]
TASK [create-tenants : Update group adv-chu-poc-gosec-admins] ******************
Tuesday 02 June 2020 07:48:45 +0000 (0:00:00.301) 0:00:25.887 **********
skipping: [bootstrap]
TASK [create-tenants : Create group adv-chu-poc-gosec-admins] ******************
Tuesday 02 June 2020 07:48:45 +0000 (0:00:00.105) 0:00:25.993 **********
skipping: [bootstrap]
TASK [create-tenants : Set fact for users in group adv-chu-poc-gosec-viewers] ***
Tuesday 02 June 2020 07:48:45 +0000 (0:00:00.117) 0:00:26.110 **********
ok: [bootstrap]
TASK [create-tenants : Get group adv-chu-poc-gosec-viewers if it exists] *******
Tuesday 02 June 2020 07:48:45 +0000 (0:00:00.130) 0:00:26.241 **********
ok: [bootstrap]
TASK [create-tenants : set_fact] ***********************************************
Tuesday 02 June 2020 07:48:46 +0000 (0:00:00.629) 0:00:26.871 **********
ok: [bootstrap]
TASK [create-tenants : Add users to json array] ********************************
Tuesday 02 June 2020 07:48:46 +0000 (0:00:00.112) 0:00:26.983 **********
ok: [bootstrap]
TASK [create-tenants : Update group adv-chu-poc-gosec-viewers] *****************
Tuesday 02 June 2020 07:48:46 +0000 (0:00:00.335) 0:00:27.319 **********
skipping: [bootstrap]
TASK [create-tenants : Create group adv-chu-poc-gosec-viewers] *****************
Tuesday 02 June 2020 07:48:46 +0000 (0:00:00.101) 0:00:27.420 **********
skipping: [bootstrap]
TASK [create-tenants : Set fact for users in group adv-chu-poc-cct-admins] *****
Tuesday 02 June 2020 07:48:46 +0000 (0:00:00.100) 0:00:27.521 **********
ok: [bootstrap]
TASK [create-tenants : Get group adv-chu-poc-cct-admins if it exists] **********
Tuesday 02 June 2020 07:48:46 +0000 (0:00:00.132) 0:00:27.653 **********
ok: [bootstrap]
TASK [create-tenants : set_fact] ***********************************************
Tuesday 02 June 2020 07:48:47 +0000 (0:00:00.479) 0:00:28.133 **********
ok: [bootstrap]
TASK [create-tenants : Add users to json array] ********************************
Tuesday 02 June 2020 07:48:47 +0000 (0:00:00.104) 0:00:28.237 **********
ok: [bootstrap]
TASK [create-tenants : Update group adv-chu-poc-cct-admins] ********************
Tuesday 02 June 2020 07:48:47 +0000 (0:00:00.320) 0:00:28.558 **********
skipping: [bootstrap]
TASK [create-tenants : Create group adv-chu-poc-cct-admins] ********************
Tuesday 02 June 2020 07:48:47 +0000 (0:00:00.094) 0:00:28.652 **********
skipping: [bootstrap]
TASK [create-tenants : Create custom groups] ***********************************
Tuesday 02 June 2020 07:48:47 +0000 (0:00:00.092) 0:00:28.744 **********
included: /stratio/ansible/roles/create-tenants/tasks/group_custom_gosec.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_custom_gosec.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_custom_gosec.yml for bootstrap
TASK [create-tenants : Set fact for users in group adv-chu-poc-intelligence] ***
Tuesday 02 June 2020 07:48:48 +0000 (0:00:00.264) 0:00:29.009 **********
ok: [bootstrap]
TASK [create-tenants : Create group intelligence in ldap] **********************
Tuesday 02 June 2020 07:48:48 +0000 (0:00:00.108) 0:00:29.117 **********
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap.yml for bootstrap
TASK [create-tenants : Get last gidNumber] *************************************
Tuesday 02 June 2020 07:48:48 +0000 (0:00:00.282) 0:00:29.400 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Check if OU adv-chu-poc exists] *************************
Tuesday 02 June 2020 07:48:49 +0000 (0:00:00.415) 0:00:29.815 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapou.ldif template] ****************************
Tuesday 02 June 2020 07:48:49 +0000 (0:00:00.424) 0:00:30.240 **********
skipping: [bootstrap]
TASK [create-tenants : Create OU adv-chu-poc in ldap] **************************
Tuesday 02 June 2020 07:48:49 +0000 (0:00:00.169) 0:00:30.409 **********
skipping: [bootstrap]
TASK [create-tenants : Check if ldap group adv-chu-poc-intelligence exists] ****
Tuesday 02 June 2020 07:48:49 +0000 (0:00:00.159) 0:00:30.569 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Set fact for adv-chu-poc-intelligence ldap group new gid] ***
Tuesday 02 June 2020 07:48:50 +0000 (0:00:00.450) 0:00:31.019 **********
skipping: [bootstrap]
TASK [create-tenants : Render Ldapgroup template] ******************************
Tuesday 02 June 2020 07:48:50 +0000 (0:00:00.178) 0:00:31.198 **********
skipping: [bootstrap]
TASK [create-tenants : Add adv-chu-poc-intelligence group to ldap] *************
Tuesday 02 June 2020 07:48:50 +0000 (0:00:00.174) 0:00:31.372 **********
skipping: [bootstrap]
TASK [create-tenants : add users to groups] ************************************
Tuesday 02 June 2020 07:48:50 +0000 (0:00:00.106) 0:00:31.478 **********
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
TASK [create-tenants : Check if operador is in group adv-chu-poc-intelligence] ***
Tuesday 02 June 2020 07:48:51 +0000 (0:00:00.355) 0:00:31.834 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:48:51 +0000 (0:00:00.429) 0:00:32.263 **********
skipping: [bootstrap]
TASK [create-tenants : Add operador to adv-chu-poc-intelligence group in ldap] ***
Tuesday 02 June 2020 07:48:51 +0000 (0:00:00.173) 0:00:32.437 **********
skipping: [bootstrap]
TASK [create-tenants : Check if Carlos.Jimenez.Diaz is in group adv-chu-poc-intelligence] ***
Tuesday 02 June 2020 07:48:51 +0000 (0:00:00.169) 0:00:32.606 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:48:52 +0000 (0:00:00.421) 0:00:33.028 **********
skipping: [bootstrap]
TASK [create-tenants : Add Carlos.Jimenez.Diaz to adv-chu-poc-intelligence group in ldap] ***
Tuesday 02 June 2020 07:48:52 +0000 (0:00:00.179) 0:00:33.207 **********
skipping: [bootstrap]
TASK [create-tenants : Check if Alberto.FernandezZazo is in group adv-chu-poc-intelligence] ***
Tuesday 02 June 2020 07:48:52 +0000 (0:00:00.164) 0:00:33.371 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:48:52 +0000 (0:00:00.400) 0:00:33.771 **********
skipping: [bootstrap]
TASK [create-tenants : Add Alberto.FernandezZazo to adv-chu-poc-intelligence group in ldap] ***
Tuesday 02 June 2020 07:48:53 +0000 (0:00:00.202) 0:00:33.974 **********
skipping: [bootstrap]
TASK [create-tenants : Check if mario.berrojalbiz is in group adv-chu-poc-intelligence] ***
Tuesday 02 June 2020 07:48:53 +0000 (0:00:00.158) 0:00:34.132 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:48:53 +0000 (0:00:00.385) 0:00:34.518 **********
skipping: [bootstrap]
TASK [create-tenants : Add mario.berrojalbiz to adv-chu-poc-intelligence group in ldap] ***
Tuesday 02 June 2020 07:48:53 +0000 (0:00:00.158) 0:00:34.677 **********
skipping: [bootstrap]
TASK [create-tenants : Check if jennifer.hernandez is in group adv-chu-poc-intelligence] ***
Tuesday 02 June 2020 07:48:54 +0000 (0:00:00.169) 0:00:34.846 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:48:54 +0000 (0:00:00.453) 0:00:35.299 **********
skipping: [bootstrap]
TASK [create-tenants : Add jennifer.hernandez to adv-chu-poc-intelligence group in ldap] ***
Tuesday 02 June 2020 07:48:54 +0000 (0:00:00.163) 0:00:35.463 **********
skipping: [bootstrap]
TASK [create-tenants : Check if rbesteiro is in group adv-chu-poc-intelligence] ***
Tuesday 02 June 2020 07:48:54 +0000 (0:00:00.159) 0:00:35.622 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:48:55 +0000 (0:00:00.401) 0:00:36.024 **********
skipping: [bootstrap]
TASK [create-tenants : Add rbesteiro to adv-chu-poc-intelligence group in ldap] ***
Tuesday 02 June 2020 07:48:55 +0000 (0:00:00.175) 0:00:36.199 **********
skipping: [bootstrap]
TASK [create-tenants : Create group intelligence in gosecmanagement] ***********
Tuesday 02 June 2020 07:48:55 +0000 (0:00:00.098) 0:00:36.298 **********
skipping: [bootstrap]
TASK [create-tenants : Set fact for users in group adv-chu-poc-sparta] *********
Tuesday 02 June 2020 07:48:55 +0000 (0:00:00.100) 0:00:36.398 **********
ok: [bootstrap]
TASK [create-tenants : Create group sparta in ldap] ****************************
Tuesday 02 June 2020 07:48:55 +0000 (0:00:00.119) 0:00:36.518 **********
skipping: [bootstrap]
TASK [create-tenants : Create group sparta in gosecmanagement] *****************
Tuesday 02 June 2020 07:48:55 +0000 (0:00:00.106) 0:00:36.624 **********
included: /stratio/ansible/roles/create-tenants/tasks/group_gosec.yml for bootstrap
TASK [create-tenants : Set fact for users in group adv-chu-poc-sparta] *********
Tuesday 02 June 2020 07:48:55 +0000 (0:00:00.177) 0:00:36.802 **********
ok: [bootstrap]
TASK [create-tenants : Get group adv-chu-poc-sparta if it exists] **************
Tuesday 02 June 2020 07:48:56 +0000 (0:00:00.113) 0:00:36.915 **********
ok: [bootstrap]
TASK [create-tenants : set_fact] ***********************************************
Tuesday 02 June 2020 07:48:56 +0000 (0:00:00.489) 0:00:37.405 **********
ok: [bootstrap]
TASK [create-tenants : Add users to json array] ********************************
Tuesday 02 June 2020 07:48:56 +0000 (0:00:00.103) 0:00:37.509 **********
ok: [bootstrap]
TASK [create-tenants : Update group adv-chu-poc-sparta] ************************
Tuesday 02 June 2020 07:48:57 +0000 (0:00:00.305) 0:00:37.815 **********
skipping: [bootstrap]
TASK [create-tenants : Create group adv-chu-poc-sparta] ************************
Tuesday 02 June 2020 07:48:57 +0000 (0:00:00.117) 0:00:37.932 **********
skipping: [bootstrap]
TASK [create-tenants : Set fact for users in group adv-chu-poc-discovery] ******
Tuesday 02 June 2020 07:48:57 +0000 (0:00:00.111) 0:00:38.044 **********
ok: [bootstrap]
TASK [create-tenants : Create group discovery in ldap] *************************
Tuesday 02 June 2020 07:48:57 +0000 (0:00:00.114) 0:00:38.158 **********
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap.yml for bootstrap
TASK [create-tenants : Get last gidNumber] *************************************
Tuesday 02 June 2020 07:48:57 +0000 (0:00:00.243) 0:00:38.402 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Check if OU adv-chu-poc exists] *************************
Tuesday 02 June 2020 07:48:58 +0000 (0:00:00.412) 0:00:38.815 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapou.ldif template] ****************************
Tuesday 02 June 2020 07:48:58 +0000 (0:00:00.376) 0:00:39.192 **********
skipping: [bootstrap]
TASK [create-tenants : Create OU adv-chu-poc in ldap] **************************
Tuesday 02 June 2020 07:48:58 +0000 (0:00:00.166) 0:00:39.359 **********
skipping: [bootstrap]
TASK [create-tenants : Check if ldap group adv-chu-poc-discovery exists] *******
Tuesday 02 June 2020 07:48:58 +0000 (0:00:00.149) 0:00:39.509 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Set fact for adv-chu-poc-discovery ldap group new gid] ***
Tuesday 02 June 2020 07:48:59 +0000 (0:00:00.432) 0:00:39.941 **********
skipping: [bootstrap]
TASK [create-tenants : Render Ldapgroup template] ******************************
Tuesday 02 June 2020 07:48:59 +0000 (0:00:00.212) 0:00:40.154 **********
skipping: [bootstrap]
TASK [create-tenants : Add adv-chu-poc-discovery group to ldap] ****************
Tuesday 02 June 2020 07:48:59 +0000 (0:00:00.160) 0:00:40.314 **********
skipping: [bootstrap]
TASK [create-tenants : add users to groups] ************************************
Tuesday 02 June 2020 07:48:59 +0000 (0:00:00.088) 0:00:40.403 **********
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
TASK [create-tenants : Check if operador is in group adv-chu-poc-discovery] ****
Tuesday 02 June 2020 07:48:59 +0000 (0:00:00.309) 0:00:40.713 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:49:00 +0000 (0:00:00.376) 0:00:41.090 **********
skipping: [bootstrap]
TASK [create-tenants : Add operador to adv-chu-poc-discovery group in ldap] ****
Tuesday 02 June 2020 07:49:00 +0000 (0:00:00.174) 0:00:41.264 **********
skipping: [bootstrap]
TASK [create-tenants : Check if Carlos.Jimenez.Diaz is in group adv-chu-poc-discovery] ***
Tuesday 02 June 2020 07:49:00 +0000 (0:00:00.201) 0:00:41.466 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:49:01 +0000 (0:00:00.396) 0:00:41.862 **********
skipping: [bootstrap]
TASK [create-tenants : Add Carlos.Jimenez.Diaz to adv-chu-poc-discovery group in ldap] ***
Tuesday 02 June 2020 07:49:01 +0000 (0:00:00.175) 0:00:42.037 **********
skipping: [bootstrap]
TASK [create-tenants : Check if Alberto.FernandezZazo is in group adv-chu-poc-discovery] ***
Tuesday 02 June 2020 07:49:01 +0000 (0:00:00.174) 0:00:42.212 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:49:01 +0000 (0:00:00.394) 0:00:42.607 **********
skipping: [bootstrap]
TASK [create-tenants : Add Alberto.FernandezZazo to adv-chu-poc-discovery group in ldap] ***
Tuesday 02 June 2020 07:49:01 +0000 (0:00:00.172) 0:00:42.780 **********
skipping: [bootstrap]
TASK [create-tenants : Check if mario.berrojalbiz is in group adv-chu-poc-discovery] ***
Tuesday 02 June 2020 07:49:02 +0000 (0:00:00.174) 0:00:42.954 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:49:02 +0000 (0:00:00.400) 0:00:43.355 **********
skipping: [bootstrap]
TASK [create-tenants : Add mario.berrojalbiz to adv-chu-poc-discovery group in ldap] ***
Tuesday 02 June 2020 07:49:02 +0000 (0:00:00.169) 0:00:43.524 **********
skipping: [bootstrap]
TASK [create-tenants : Check if jennifer.hernandez is in group adv-chu-poc-discovery] ***
Tuesday 02 June 2020 07:49:02 +0000 (0:00:00.173) 0:00:43.698 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:49:03 +0000 (0:00:00.380) 0:00:44.079 **********
skipping: [bootstrap]
TASK [create-tenants : Add jennifer.hernandez to adv-chu-poc-discovery group in ldap] ***
Tuesday 02 June 2020 07:49:03 +0000 (0:00:00.161) 0:00:44.240 **********
skipping: [bootstrap]
TASK [create-tenants : Check if rbesteiro is in group adv-chu-poc-discovery] ***
Tuesday 02 June 2020 07:49:03 +0000 (0:00:00.241) 0:00:44.482 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:49:04 +0000 (0:00:00.398) 0:00:44.881 **********
skipping: [bootstrap]
TASK [create-tenants : Add rbesteiro to adv-chu-poc-discovery group in ldap] ***
Tuesday 02 June 2020 07:49:04 +0000 (0:00:00.166) 0:00:45.047 **********
skipping: [bootstrap]
TASK [create-tenants : Create group discovery in gosecmanagement] **************
Tuesday 02 June 2020 07:49:04 +0000 (0:00:00.099) 0:00:45.147 **********
skipping: [bootstrap]
TASK [create-tenants : Get last gidNumber] *************************************
Tuesday 02 June 2020 07:49:04 +0000 (0:00:00.179) 0:00:45.327 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Check if OU adv-chu-poc exists] *************************
Tuesday 02 June 2020 07:49:04 +0000 (0:00:00.397) 0:00:45.724 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapou.ldif template] ****************************
Tuesday 02 June 2020 07:49:05 +0000 (0:00:00.368) 0:00:46.092 **********
skipping: [bootstrap]
TASK [create-tenants : Create OU adv-chu-poc in ldap] **************************
Tuesday 02 June 2020 07:49:05 +0000 (0:00:00.183) 0:00:46.275 **********
skipping: [bootstrap]
TASK [create-tenants : Check if ldap group adv-chu-poc exists] *****************
Tuesday 02 June 2020 07:49:05 +0000 (0:00:00.160) 0:00:46.436 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Set fact for adv-chu-poc ldap group new gid] ************
Tuesday 02 June 2020 07:49:06 +0000 (0:00:00.404) 0:00:46.840 **********
skipping: [bootstrap]
TASK [create-tenants : Render Ldapgroup template] ******************************
Tuesday 02 June 2020 07:49:06 +0000 (0:00:00.178) 0:00:47.019 **********
skipping: [bootstrap]
TASK [create-tenants : Add adv-chu-poc group to ldap] **************************
Tuesday 02 June 2020 07:49:06 +0000 (0:00:00.168) 0:00:47.188 **********
skipping: [bootstrap]
TASK [create-tenants : add users to groups] ************************************
Tuesday 02 June 2020 07:49:06 +0000 (0:00:00.099) 0:00:47.287 **********
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
included: /stratio/ansible/roles/create-tenants/tasks/group_ldap_add_users.yml for bootstrap
TASK [create-tenants : Check if operador is in group adv-chu-poc] **************
Tuesday 02 June 2020 07:49:06 +0000 (0:00:00.358) 0:00:47.646 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:49:07 +0000 (0:00:00.402) 0:00:48.048 **********
skipping: [bootstrap]
TASK [create-tenants : Add operador to adv-chu-poc group in ldap] **************
Tuesday 02 June 2020 07:49:07 +0000 (0:00:00.162) 0:00:48.211 **********
skipping: [bootstrap]
TASK [create-tenants : Check if Carlos.Jimenez.Diaz is in group adv-chu-poc] ***
Tuesday 02 June 2020 07:49:07 +0000 (0:00:00.159) 0:00:48.370 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:49:07 +0000 (0:00:00.376) 0:00:48.747 **********
skipping: [bootstrap]
TASK [create-tenants : Add Carlos.Jimenez.Diaz to adv-chu-poc group in ldap] ***
Tuesday 02 June 2020 07:49:08 +0000 (0:00:00.218) 0:00:48.965 **********
skipping: [bootstrap]
TASK [create-tenants : Check if Alberto.FernandezZazo is in group adv-chu-poc] ***
Tuesday 02 June 2020 07:49:08 +0000 (0:00:00.172) 0:00:49.138 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:49:08 +0000 (0:00:00.360) 0:00:49.499 **********
skipping: [bootstrap]
TASK [create-tenants : Add Alberto.FernandezZazo to adv-chu-poc group in ldap] ***
Tuesday 02 June 2020 07:49:08 +0000 (0:00:00.160) 0:00:49.659 **********
skipping: [bootstrap]
TASK [create-tenants : Check if mario.berrojalbiz is in group adv-chu-poc] *****
Tuesday 02 June 2020 07:49:09 +0000 (0:00:00.227) 0:00:49.887 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:49:09 +0000 (0:00:00.389) 0:00:50.277 **********
skipping: [bootstrap]
TASK [create-tenants : Add mario.berrojalbiz to adv-chu-poc group in ldap] *****
Tuesday 02 June 2020 07:49:09 +0000 (0:00:00.161) 0:00:50.439 **********
skipping: [bootstrap]
TASK [create-tenants : Check if jennifer.hernandez is in group adv-chu-poc] ****
Tuesday 02 June 2020 07:49:09 +0000 (0:00:00.200) 0:00:50.640 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:49:10 +0000 (0:00:00.377) 0:00:51.017 **********
skipping: [bootstrap]
TASK [create-tenants : Add jennifer.hernandez to adv-chu-poc group in ldap] ****
Tuesday 02 June 2020 07:49:10 +0000 (0:00:00.169) 0:00:51.186 **********
skipping: [bootstrap]
TASK [create-tenants : Check if rbesteiro is in group adv-chu-poc] *************
Tuesday 02 June 2020 07:49:10 +0000 (0:00:00.170) 0:00:51.357 **********
ok: [bootstrap -> 10.45.173.68]
TASK [create-tenants : Render ldapaddusers template] ***************************
Tuesday 02 June 2020 07:49:10 +0000 (0:00:00.359) 0:00:51.717 **********
skipping: [bootstrap]
TASK [create-tenants : Add rbesteiro to adv-chu-poc group in ldap] *************
Tuesday 02 June 2020 07:49:11 +0000 (0:00:00.174) 0:00:51.891 **********
skipping: [bootstrap]
TASK [create-tenants : Get eos_auth token] *************************************
Tuesday 02 June 2020 07:49:11 +0000 (0:00:00.096) 0:00:51.988 **********
ok: [bootstrap]
TASK [create-tenants : Set eos_auth fact] **************************************
Tuesday 02 June 2020 07:49:16 +0000 (0:00:04.877) 0:00:56.866 **********
ok: [bootstrap]
TASK [create-tenants : Get custom groups] **************************************
Tuesday 02 June 2020 07:49:16 +0000 (0:00:00.096) 0:00:56.963 **********
ok: [bootstrap]
TASK [create-tenants : Set custom group fact] **********************************
Tuesday 02 June 2020 07:49:16 +0000 (0:00:00.099) 0:00:57.062 **********
ok: [bootstrap]
TASK [create-tenants : Create tenants in gosec-identities-daas] ****************
Tuesday 02 June 2020 07:49:16 +0000 (0:00:00.098) 0:00:57.161 **********
ok: [bootstrap]
TASK [create-tenants : Get eos_auth token] *************************************
Tuesday 02 June 2020 07:49:16 +0000 (0:00:00.540) 0:00:57.702 **********
ok: [bootstrap]
TASK [create-tenants : Set eos_auth fact] **************************************
Tuesday 02 June 2020 07:49:19 +0000 (0:00:02.586) 0:01:00.288 **********
ok: [bootstrap]
TASK [create-tenants : Get ip pool] ********************************************
Tuesday 02 June 2020 07:49:19 +0000 (0:00:00.089) 0:01:00.378 **********
fatal: [bootstrap]: FAILED! => {"changed": false, "msg": "Failed to validate the SSL certificate for admin.stratio-eyctp.com:443. Make sure your managed systems have a valid CA certificate installed. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible. The exception msg was: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579).", "status": -1, "url": "https://admin.stratio-eyctp.com/service/cct-configuration-api/network/ippool/all"}
NO MORE HOSTS LEFT *************************************************************
PLAY RECAP *********************************************************************
bootstrap : ok=122 changed=0 unreachable=0 failed=1 skipped=82 rescued=0 ignored=0
Tuesday 02 June 2020 07:49:20 +0000 (0:00:00.842) 0:01:01.220 **********
===============================================================================
create-tenants --------------------------------------------------------- 60.96s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
total ------------------------------------------------------------------ 60.96s
Playbook run took 0 days, 0 hours, 1 minutes, 1 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment