Skip to content

Commit 4650f4c

Browse files
authored
Merge pull request #65 from lae/bugfix/minor_fixes
Minor fixes
2 parents 49139f9 + a50bbc9 commit 4650f4c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ of the `ops` group. Read the **User and ACL Management** section for more info.
217217
The backend needs to be supported by [Proxmox](https://pve.proxmox.com/pve-docs/chapter-pvesm.html).
218218
Read the **Storage Management** section for more info.
219219

220-
'pve_ssh_port' allows you to change the SSH service port. If your SSH is listing
220+
`pve_ssh_port` allows you to change the SSH service port. If your SSH is listing
221221
on a different port then 22, please set this variable. If a new node is joining
222222
the cluster, the PVE cluster needs to communicate once via SSH.
223223

tasks/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
when: "pve_cluster_enabled | bool"
132132

133133
- import_tasks: ceph.yml
134-
when: pve_ceph_enabled
134+
when: "pve_ceph_enabled | bool"
135135

136136
- name: Configure Proxmox groups
137137
proxmox_group:
@@ -194,7 +194,7 @@
194194
path: "/etc/pve/datacenter.cfg"
195195
state: "touch"
196196
when:
197-
- not pve_cluster_enabled or (pve_cluster_enabled and inventory_hostname == groups[pve_group][0])
197+
- not pve_cluster_enabled | bool or (pve_cluster_enabled and inventory_hostname == groups[pve_group][0])
198198
- pve_datacenter_cfg | length > 0
199199
- not _datacenter_cfg.stat.exists
200200

@@ -209,7 +209,7 @@
209209
{{ k }}: {{ v }}
210210
{% endfor %}
211211
when:
212-
- not pve_cluster_enabled or (pve_cluster_enabled and inventory_hostname == groups[pve_group][0])
212+
- not pve_cluster_enabled | bool or (pve_cluster_enabled and inventory_hostname == groups[pve_group][0])
213213
- pve_datacenter_cfg | length > 0
214214

215215
- import_tasks: ssl_config.yml

0 commit comments

Comments
 (0)