Script started on ven 03 mar 2017 14:37:08 CET root@server:~# fuss-server create PLAY [Configure a FUSS Server.] ************************************************ TASK [setup] ******************************************************************* ok: [localhost] TASK [common : Clean package list] ********************************************* TASK [common : Install base packages] ****************************************** included: /usr/share/fuss-server/includes/install-package-apt.yml for localhost included: /usr/share/fuss-server/includes/install-package-apt.yml for localhost included: /usr/share/fuss-server/includes/install-package-apt.yml for localhost included: /usr/share/fuss-server/includes/install-package-apt.yml for localhost included: /usr/share/fuss-server/includes/install-package-apt.yml for localhost included: /usr/share/fuss-server/includes/install-package-apt.yml for localhost included: /usr/share/fuss-server/includes/install-package-apt.yml for localhost included: /usr/share/fuss-server/includes/install-package-apt.yml for localhost TASK [common : Install package jed,less,screen,links,wget,rsync,bzip2,unzip,strace,lsof by apt] *** ok: [localhost] TASK [common : register packages] ********************************************** TASK [common : Install package tcpdump,netcat,iputils-arping,nmap,iproute2,mtr-tiny,traceroute by apt] *** ok: [localhost] TASK [common : register packages] ********************************************** TASK [common : Install package netmask,iptraf-ng,dnsutils,python-ipaddr by apt] ok: [localhost] TASK [common : register packages] ********************************************** TASK [common : Install package iotop,iftop,atop,hdparm,pciutils by apt] ******** ok: [localhost] TASK [common : register packages] ********************************************** TASK [common : Install package apt-listchanges,sudo,molly-guard by apt] ******** ok: [localhost] TASK [common : register packages] ********************************************** TASK [common : Install package apticron,witalian,easy-rsa,ssl-cert by apt] ***** ok: [localhost] TASK [common : register packages] ********************************************** TASK [common : Install package tiger,chkrootkit,libpam-cracklib by apt] ******** ok: [localhost] TASK [common : register packages] ********************************************** TASK [common : Install package openssl,clusterssh,fuse by apt] ***************** ok: [localhost] TASK [common : register packages] ********************************************** TASK [common : Read all interface addresses + subnet] ************************** changed: [localhost] => (item=eth0) changed: [localhost] => (item=eth1) TASK [common : Load all network configuration into yaml] *********************** ok: [localhost] TASK [common : Set common facts] *********************************************** ok: [localhost] TASK [common : Set additional convenience facts] ******************************* ok: [localhost] TASK [common : Create Credentials directory] *********************************** ok: [localhost] TASK [common : Check permissions on configuration file] ************************ ok: [localhost] TASK [ssl-ca-init : Create CA directory on server] ***************************** ok: [localhost] TASK [ssl-ca-init : Generate Certificates with issue-host-ssl-cert script] ***** ok: [localhost] => (item= server.scuola.lan-cert.pem and server.scuola.lan-key.pem already present ) => { "item": " server.scuola.lan-cert.pem and server.scuola.lan-key.pem already present ", "msg": " server.scuola.lan-cert.pem and server.scuola.lan-key.pem already present " } TASK [ssl-ca-init : Copy CA data on the server CA directory] ******************* ok: [localhost] TASK [ssl-ca-init : install SSL CA file] *************************************** ok: [localhost] TASK [ssl-ca-init : install SSL cert file] ************************************* ok: [localhost] TASK [ssl-ca-init : install SSL key file] ************************************** ok: [localhost] TASK [ldap-base : fail] ******************************************************** skipping: [localhost] TASK [ldap-base : include] ***************************************************** included: /usr/share/fuss-server/includes/install-package-apt.yml for localhost TASK [ldap-base : Install package ldap-utils by apt] *************************** ok: [localhost] TASK [ldap-base : register packages] ******************************************* TASK [ldap-base : install SSL CA certificate] ********************************** ok: [localhost] TASK [ldap-base : Setup /etc/ldap/ldap.conf] *********************************** ok: [localhost] TASK [slapd : fail] ************************************************************ skipping: [localhost] TASK [slapd : Look if slapd.conf file is already there] ************************ ok: [localhost] TASK [slapd : Preseed debconf slapd admin password, first time] **************** skipping: [localhost] TASK [slapd : Preseed debconf slapd admin password, second time] *************** skipping: [localhost] TASK [slapd : Preseed debconf LDAP base DN] ************************************ skipping: [localhost] TASK [slapd : include] ********************************************************* skipping: [localhost] => (item=slapd,slapd-smbk5pwd,gosa-schema)  TASK [slapd : Generate hashed password] **************************************** skipping: [localhost] TASK [slapd : Is there slapd.d directory] ************************************** skipping: [localhost] TASK [slapd : Stopping slapd server] ******************************************* skipping: [localhost] TASK [slapd : Move away slapd.d directory] ************************************* skipping: [localhost] TASK [slapd : Give slapd user access to server certificate key] **************** skipping: [localhost] TASK [slapd : adding ldaps:/// to SLAPD_SERVICES in /etc/default/slapd] ******** skipping: [localhost] TASK [slapd : Setup /etc/ldap/slapd.conf] ************************************** skipping: [localhost] TASK [slapd : Starting slapd server] ******************************************* skipping: [localhost] TASK [slapd : include] ********************************************************* included: /usr/share/fuss-server/includes/install-package-apt.yml for localhost TASK [slapd : Install package ldapvi by apt] *********************************** ok: [localhost] TASK [slapd : register packages] *********************************************** TASK [slapd : Setup .ldapvirc] ************************************************* ok: [localhost] TASK [slapd : include] ********************************************************* included: /usr/share/fuss-server/includes/install-package-apt.yml for localhost TASK [slapd : Install package smbldap-tools,samba-common-bin,python-smbpasswd by apt] *** ok: [localhost] TASK [slapd : register packages] *********************************************** TASK [slapd : Setup /etc/smbldap-tools/smbldap_bind.conf] ********************** ok: [localhost] TASK [slapd : Get SID value] *************************************************** fatal: [localhost]: FAILED! => {"changed": false, "cmd": "net getlocalsid | awk '{print $NF}'", "delta": "0:00:16.053449", "end": "2017-03-03 14:37:34.704030", "failed": true, "failed_when_result": true, "rc": 0, "start": "2017-03-03 14:37:18.650581", "stderr": "failed to bind to server ldap://127.0.0.1/ with dn=\"cn=admin,dc=scuola,dc=lan\" Error: Can't contact LDAP server\n\t(unknown)\npdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain. We cannot work reliably without it.\npdb backend ldapsam:ldap://127.0.0.1/ did not correctly init (error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO)\nWARNING: Could not open passdb", "stdout": "", "stdout_lines": [], "warnings": []} to retry, use: --limit @/usr/share/fuss-server/create.retry PLAY RECAP ********************************************************************* localhost : ok=40  changed=1  unreachable=0 failed=1  root@server:~# exit Script done on ven 03 mar 2017 14:37:39 CET