This repository has been archived by the owner on May 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.json.sample
63 lines (63 loc) · 2.37 KB
/
configuration.json.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"main": {
},
"dpts": [
{
"title": "département info",
"connection": {
"winrmPort": 5986,
"winrmHTTPS": true,
"winrmInsecure": true,
"winrmTimeout": 2,
"winrmUser": "administrateur",
"winrmPass": "mysecurepass",
"sshTimeout": 2,
"sshPort": 22,
"sshUser": "root",
"sshPem": "./id_rsa.pem",
"linuxCommands": [
{ "name": "", "command": "if [ -z $(cd /var/lib/ansible/local; git fetch origin ; git diff --name-only master origin/master | head -1;) ]; then echo \"\"; else echo \"A-\"; fi;" },
{ "name": "", "command": "if [ -z $(grep -i \"failed=1\" /var/log/ansible-pull.log) ]; then echo \"\"; else echo \"A!\"; fi;" }
]
},
"machines": [
{ "name": "iutclinfa17", "nb": 1 },
{ "name": "iutclinfa10", "nb": 18 },
{ "name": "iutclinfa12", "nb": 10 },
{ "name": "iutclinfa18", "nb": 18 },
{ "name": "iutclinfa19", "nb": 10 },
{ "name": "iutclinfa23", "nb": 18 },
{ "name": "iutclinfb10", "nb": 9 },
{ "name": "iutclinfb12", "nb": 10 },
{ "name": "iutclinfb18", "nb": 10 },
{ "name": "iutclinfb19", "nb": 10 },
{ "name": "iutclinfb20", "nb": 10 },
{ "name": "iutclinfc21", "nb": 10 }
]
},
{
"title": "département rt",
"connection": {
"winrmPort": 5986,
"winrmHTTPS": true,
"winrmInsecure": true,
"winrmTimeout": 2,
"winrmUser": "administrateur",
"winrmPass": "mysecurepass",
"sshTimeout": 2,
"sshPort": 22,
"sshUser": "root",
"sshPem": "./id_rsa.pem",
"linuxCommands": [
]
},
"machines": [
{ "name": "iutclrtc5", "nb": 15 },
{ "name": "iutclrtb3", "nb": 15 },
{ "name": "iutclrtb6", "nb": 15 },
{ "name": "iutclrtb8", "nb": 15 },
{ "name": "iutclrta15", "nb": 1 }
]
}
]
}