Closed junousi closed 1 year ago
...or then I'm just setting some parameter the wrong way?
$ cat cluster.yml pve_storages: - name: local type: dir path: /var/lib/vz disable: true state: present
Expected results:
RUN1 TASK [ansible-role-proxmox : Configure Proxmox Storage] ********************************************************************************************************************* changed: [server1] => (item={'name': 'local', 'type': 'dir', 'path': '/var/lib/vz', 'disable': True, 'state': 'present'}) RUN2 TASK [ansible-role-proxmox : Configure Proxmox Storage] ********************************************************************************************************************* ok: [server1] => (item={'name': 'local', 'type': 'dir', 'path': '/var/lib/vz', 'disable': True, 'state': 'present'})
Actual results:
RUN1 TASK [ansible-role-proxmox : Configure Proxmox Storage] ********************************************************************************************************************* changed: [server1] => (item={'name': 'local', 'type': 'dir', 'path': '/var/lib/vz', 'disable': True, 'state': 'present'}) RUN2 TASK [ansible-role-proxmox : Configure Proxmox Storage] ********************************************************************************************************************* changed: [server1] => (item={'name': 'local', 'type': 'dir', 'path': '/var/lib/vz', 'disable': True, 'state': 'present'})
Likely a bug around here: https://github.com/lae/ansible-role-proxmox/blob/v1.7.1/library/proxmox_storage.py#L204
Pushed a branch for this. Do you mind testing it?
...or then I'm just setting some parameter the wrong way?
Expected results:
Actual results: