diff --git a/meta/main.yml b/meta/main.yml index 2d166933..dfe6e134 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -6,7 +6,7 @@ galaxy_info: description: Installs and configures Proxmox Virtual Environment 6.x/7.x on Debian servers. license: MIT - min_ansible_version: 2.9 + min_ansible_version: "2.9" platforms: - name: Debian diff --git a/tasks/ceph.yml b/tasks/ceph.yml index 4125e767..cca56388 100644 --- a/tasks/ceph.yml +++ b/tasks/ceph.yml @@ -4,9 +4,9 @@ - block: - name: Create initial Ceph config command: "pveceph init --network {{ pve_ceph_network }} \ - {% if pve_ceph_cluster_network is defined %} \ + {% if pve_ceph_cluster_network is defined %} \ --cluster-network {{ pve_ceph_cluster_network }} - {% endif %}" + {% endif %}" args: creates: /etc/ceph/ceph.conf diff --git a/tasks/main.yml b/tasks/main.yml index b9cbd88f..2d6f7de0 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -17,7 +17,7 @@ - name: Ensure that group has more than one host to enable PVE clustering assert: that: - - "groups[pve_group] | length | int < 2" + - "groups[pve_group] | length | int >= 2" msg: "Clustering is enabled for {{ pve_group }} but does not meet the \ minimum host requirement of 2. Please either remove/disable \ pve_cluster_enabled, or update your inventory as needed."