UNSOLVED

gdny

updated

3 years ago

Closed

G

gdny

1 Rookie

41 Posts

0

816

April 18th, 2023 21:00

Powerscale Ansible NFS Module does not seem to be Idempotent

Hi,

When I run the following multiple times it keeps creating multiple exports of the same path.

- name: Create NFS Export
  dellemc.powerscale.nfs:
    onefs_host: "{{onefs_host}}"
    api_user: "{{api_user}}"
    api_password: "{{api_password}}"
    verify_ssl: "{{verify_ssl}}"
    path: ""
    access_zone: "{{access_zone}}"
    read_only_clients:
    - "{{client1}}"
    - "{{client2}}"
    read_only: True
    clients: ["{{client3}}"]
    client_state: 'present-in-export'
    state: 'present'