1
|
Script started on ven 03 mar 2017 14:37:08 CET
|
2
|
root@server:~# fuss-server create
|
3
|
|
4
|
PLAY [Configure a FUSS Server.] ************************************************
|
5
|
|
6
|
TASK [setup] *******************************************************************
|
7
|
[0;32mok: [localhost][0m
|
8
|
|
9
|
TASK [common : Clean package list] *********************************************
|
10
|
|
11
|
TASK [common : Install base packages] ******************************************
|
12
|
[0;36mincluded: /usr/share/fuss-server/includes/install-package-apt.yml for localhost[0m
|
13
|
[0;36mincluded: /usr/share/fuss-server/includes/install-package-apt.yml for localhost[0m
|
14
|
[0;36mincluded: /usr/share/fuss-server/includes/install-package-apt.yml for localhost[0m
|
15
|
[0;36mincluded: /usr/share/fuss-server/includes/install-package-apt.yml for localhost[0m
|
16
|
[0;36mincluded: /usr/share/fuss-server/includes/install-package-apt.yml for localhost[0m
|
17
|
[0;36mincluded: /usr/share/fuss-server/includes/install-package-apt.yml for localhost[0m
|
18
|
[0;36mincluded: /usr/share/fuss-server/includes/install-package-apt.yml for localhost[0m
|
19
|
[0;36mincluded: /usr/share/fuss-server/includes/install-package-apt.yml for localhost[0m
|
20
|
|
21
|
TASK [common : Install package jed,less,screen,links,wget,rsync,bzip2,unzip,strace,lsof by apt] ***
|
22
|
[0;32mok: [localhost][0m
|
23
|
|
24
|
TASK [common : register packages] **********************************************
|
25
|
|
26
|
TASK [common : Install package tcpdump,netcat,iputils-arping,nmap,iproute2,mtr-tiny,traceroute by apt] ***
|
27
|
[0;32mok: [localhost][0m
|
28
|
|
29
|
TASK [common : register packages] **********************************************
|
30
|
|
31
|
TASK [common : Install package netmask,iptraf-ng,dnsutils,python-ipaddr by apt]
|
32
|
[0;32mok: [localhost][0m
|
33
|
|
34
|
TASK [common : register packages] **********************************************
|
35
|
|
36
|
TASK [common : Install package iotop,iftop,atop,hdparm,pciutils by apt] ********
|
37
|
[0;32mok: [localhost][0m
|
38
|
|
39
|
TASK [common : register packages] **********************************************
|
40
|
|
41
|
TASK [common : Install package apt-listchanges,sudo,molly-guard by apt] ********
|
42
|
[0;32mok: [localhost][0m
|
43
|
|
44
|
TASK [common : register packages] **********************************************
|
45
|
|
46
|
TASK [common : Install package apticron,witalian,easy-rsa,ssl-cert by apt] *****
|
47
|
[0;32mok: [localhost][0m
|
48
|
|
49
|
TASK [common : register packages] **********************************************
|
50
|
|
51
|
TASK [common : Install package tiger,chkrootkit,libpam-cracklib by apt] ********
|
52
|
[0;32mok: [localhost][0m
|
53
|
|
54
|
TASK [common : register packages] **********************************************
|
55
|
|
56
|
TASK [common : Install package openssl,clusterssh,fuse by apt] *****************
|
57
|
[0;32mok: [localhost][0m
|
58
|
|
59
|
TASK [common : register packages] **********************************************
|
60
|
|
61
|
TASK [common : Read all interface addresses + subnet] **************************
|
62
|
[0;33mchanged: [localhost] => (item=eth0)[0m
|
63
|
[0;33mchanged: [localhost] => (item=eth1)[0m
|
64
|
|
65
|
TASK [common : Load all network configuration into yaml] ***********************
|
66
|
[0;32mok: [localhost][0m
|
67
|
|
68
|
TASK [common : Set common facts] ***********************************************
|
69
|
[0;32mok: [localhost][0m
|
70
|
|
71
|
TASK [common : Set additional convenience facts] *******************************
|
72
|
[0;32mok: [localhost][0m
|
73
|
|
74
|
TASK [common : Create Credentials directory] ***********************************
|
75
|
[0;32mok: [localhost][0m
|
76
|
|
77
|
TASK [common : Check permissions on configuration file] ************************
|
78
|
[0;32mok: [localhost][0m
|
79
|
|
80
|
TASK [ssl-ca-init : Create CA directory on server] *****************************
|
81
|
[0;32mok: [localhost][0m
|
82
|
|
83
|
TASK [ssl-ca-init : Generate Certificates with issue-host-ssl-cert script] *****
|
84
|
[0;32mok: [localhost] => (item= server.scuola.lan-cert.pem and server.scuola.lan-key.pem already present ) => {
|
85
|
"item": " server.scuola.lan-cert.pem and server.scuola.lan-key.pem already present ",
|
86
|
"msg": " server.scuola.lan-cert.pem and server.scuola.lan-key.pem already present "
|
87
|
}[0m
|
88
|
|
89
|
TASK [ssl-ca-init : Copy CA data on the server CA directory] *******************
|
90
|
[0;32mok: [localhost][0m
|
91
|
|
92
|
TASK [ssl-ca-init : install SSL CA file] ***************************************
|
93
|
[0;32mok: [localhost][0m
|
94
|
|
95
|
TASK [ssl-ca-init : install SSL cert file] *************************************
|
96
|
[0;32mok: [localhost][0m
|
97
|
|
98
|
TASK [ssl-ca-init : install SSL key file] **************************************
|
99
|
[0;32mok: [localhost][0m
|
100
|
|
101
|
TASK [ldap-base : fail] ********************************************************
|
102
|
[0;36mskipping: [localhost][0m
|
103
|
|
104
|
TASK [ldap-base : include] *****************************************************
|
105
|
[0;36mincluded: /usr/share/fuss-server/includes/install-package-apt.yml for localhost[0m
|
106
|
|
107
|
TASK [ldap-base : Install package ldap-utils by apt] ***************************
|
108
|
[0;32mok: [localhost][0m
|
109
|
|
110
|
TASK [ldap-base : register packages] *******************************************
|
111
|
|
112
|
TASK [ldap-base : install SSL CA certificate] **********************************
|
113
|
[0;32mok: [localhost][0m
|
114
|
|
115
|
TASK [ldap-base : Setup /etc/ldap/ldap.conf] ***********************************
|
116
|
[0;32mok: [localhost][0m
|
117
|
|
118
|
TASK [slapd : fail] ************************************************************
|
119
|
[0;36mskipping: [localhost][0m
|
120
|
|
121
|
TASK [slapd : Look if slapd.conf file is already there] ************************
|
122
|
[0;32mok: [localhost][0m
|
123
|
|
124
|
TASK [slapd : Preseed debconf slapd admin password, first time] ****************
|
125
|
[0;36mskipping: [localhost][0m
|
126
|
|
127
|
TASK [slapd : Preseed debconf slapd admin password, second time] ***************
|
128
|
[0;36mskipping: [localhost][0m
|
129
|
|
130
|
TASK [slapd : Preseed debconf LDAP base DN] ************************************
|
131
|
[0;36mskipping: [localhost][0m
|
132
|
|
133
|
TASK [slapd : include] *********************************************************
|
134
|
[0;36mskipping: [localhost] => (item=slapd,slapd-smbk5pwd,gosa-schema) [0m
|
135
|
|
136
|
TASK [slapd : Generate hashed password] ****************************************
|
137
|
[0;36mskipping: [localhost][0m
|
138
|
|
139
|
TASK [slapd : Is there slapd.d directory] **************************************
|
140
|
[0;36mskipping: [localhost][0m
|
141
|
|
142
|
TASK [slapd : Stopping slapd server] *******************************************
|
143
|
[0;36mskipping: [localhost][0m
|
144
|
|
145
|
TASK [slapd : Move away slapd.d directory] *************************************
|
146
|
[0;36mskipping: [localhost][0m
|
147
|
|
148
|
TASK [slapd : Give slapd user access to server certificate key] ****************
|
149
|
[0;36mskipping: [localhost][0m
|
150
|
|
151
|
TASK [slapd : adding ldaps:/// to SLAPD_SERVICES in /etc/default/slapd] ********
|
152
|
[0;36mskipping: [localhost][0m
|
153
|
|
154
|
TASK [slapd : Setup /etc/ldap/slapd.conf] **************************************
|
155
|
[0;36mskipping: [localhost][0m
|
156
|
|
157
|
TASK [slapd : Starting slapd server] *******************************************
|
158
|
[0;36mskipping: [localhost][0m
|
159
|
|
160
|
TASK [slapd : include] *********************************************************
|
161
|
[0;36mincluded: /usr/share/fuss-server/includes/install-package-apt.yml for localhost[0m
|
162
|
|
163
|
TASK [slapd : Install package ldapvi by apt] ***********************************
|
164
|
[0;32mok: [localhost][0m
|
165
|
|
166
|
TASK [slapd : register packages] ***********************************************
|
167
|
|
168
|
TASK [slapd : Setup .ldapvirc] *************************************************
|
169
|
[0;32mok: [localhost][0m
|
170
|
|
171
|
TASK [slapd : include] *********************************************************
|
172
|
[0;36mincluded: /usr/share/fuss-server/includes/install-package-apt.yml for localhost[0m
|
173
|
|
174
|
TASK [slapd : Install package smbldap-tools,samba-common-bin,python-smbpasswd by apt] ***
|
175
|
[0;32mok: [localhost][0m
|
176
|
|
177
|
TASK [slapd : register packages] ***********************************************
|
178
|
|
179
|
TASK [slapd : Setup /etc/smbldap-tools/smbldap_bind.conf] **********************
|
180
|
[0;32mok: [localhost][0m
|
181
|
|
182
|
TASK [slapd : Get SID value] ***************************************************
|
183
|
[0;31mfatal: [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": []}[0m
|
184
|
to retry, use: --limit @/usr/share/fuss-server/create.retry
|
185
|
|
186
|
PLAY RECAP *********************************************************************
|
187
|
[0;31mlocalhost[0m : [0;32mok=40 [0m [0;33mchanged=1 [0m unreachable=0 [0;31mfailed=1 [0m
|
188
|
|
189
|
root@server:~# exit
|
190
|
|
191
|
Script done on ven 03 mar 2017 14:37:39 CET
|