File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 4
4
lae.proxmox
5
5
===========
6
6
7
- Installs and configures a Proxmox 5.x cluster with the following features:
7
+ Installs and configures a Proxmox 5.x/6.x cluster with the following features:
8
8
9
9
- Ensures all hosts can connect to one another as root
10
10
- Ability to create/manage groups, users, access control lists and storage
@@ -177,6 +177,7 @@ pve_storages:
177
177
content: [ "images", "iso", "backup" ]
178
178
path: /plop
179
179
maxfiles: 4
180
+ pve_ssh_port: 22
180
181
181
182
interfaces_template: "interfaces-{{ pve_group }}.j2"
182
183
```
@@ -216,6 +217,10 @@ of the `ops` group. Read the **User and ACL Management** section for more info.
216
217
The backend needs to be supported by [ Proxmox] ( https://pve.proxmox.com/pve-docs/chapter-pvesm.html ) .
217
218
Read the ** Storage Management** section for more info.
218
219
220
+ 'pve_ssh_port' allows you to change the SSH service port. If your SSH is listing
221
+ on a different port then 22, please set this variable. If a new node is joining
222
+ the cluster, the PVE cluster needs to communicate once via SSH.
223
+
219
224
` interfaces_template ` is set to the path of a template we'll use for configuring
220
225
the network on these Debian machines. This is only necessary if you want to
221
226
manage networking from Ansible rather than manually or via each host in PVE.
Original file line number Diff line number Diff line change @@ -43,3 +43,4 @@ pve_groups: []
43
43
pve_users : []
44
44
pve_acls : []
45
45
pve_storages : []
46
+ pve_ssh_port : 22
Original file line number Diff line number Diff line change 35
35
{% for host in groups[pve_group] %}
36
36
Host {{ hostvars[host].ansible_fqdn }} {{ hostvars[host].ansible_hostname }} {{ hostvars[host].ansible_default_ipv4.address }}
37
37
IdentityFile /root/.ssh/id_rsa
38
+ Port {{ pve_ssh_port }}
38
39
{% endfor %}
39
40
40
41
- name : Allow root logins from PVE cluster hosts
You can’t perform that action at this time.
0 commit comments