-
Notifications
You must be signed in to change notification settings - Fork 8
/
servers.yaml
63 lines (63 loc) · 1.54 KB
/
servers.yaml
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
---
default_config:
check_newer_vagrant_box: true
run_os_update: true
servers:
- name: amp
box: bento/centos-7.6
ram: 2048
cpus: 4
ip: 10.10.10.100
forwarded_ports:
- guest: 8081
host: 8081
autocorrect: true
shell:
cmd:
- /vagrant/files/install_amp.sh
- name: byon1
box: bento/centos-7.6
ram: 512
cpus: 2
ip: 10.10.10.101
shell:
cmd:
- sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
- sudo systemctl restart sshd
- name: byon2
box: bento/centos-7.6
ram: 512
cpus: 2
ip: 10.10.10.102
shell:
cmd:
- sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
- sudo systemctl restart sshd
- name: byon3
box: bento/centos-7.6
ram: 512
cpus: 2
ip: 10.10.10.103
shell:
cmd:
- sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
- sudo systemctl restart sshd
- name: byon4
box: bento/centos-7.6
ram: 512
cpus: 2
ip: 10.10.10.104
shell:
cmd:
- sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
- sudo systemctl restart sshd
- name: byon5
box: bento/centos-7.6
ram: 512
cpus: 2
ip: 10.10.10.105
shell:
cmd:
- sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
- sudo systemctl restart sshd
...