User

Example Syntax

    - name: Create user
      ionoscloudsdk.ionoscloud.user:
        firstname: John
        lastname: Doe
        email: john.doe@example.com
        user_password: secretpassword123
        administrator: true

    - name: Update user
      ionoscloudsdk.ionoscloud.user:
        firstname: John
        lastname: Doe
        email: john.doe@example.com
        administrator: false
        groups:
          - Developers
          - Testers
        state: update

    - name: Add user to group
      ionoscloudsdk.ionoscloud.user:
        email: "{{ random_user }}"
        groups:
          - "{{ name }}"
        state: update

    - name: Remove user from group
      ionoscloudsdk.ionoscloud.user:
        email: "{{ random_user }}"
        groups: []
        state: update

    - name: Delete user
      ionoscloudsdk.ionoscloud.user:
        email: "{{ random_user }}"
        state: absent

Parameter Reference

The following parameters are supported:

Last updated