Nic

Example Syntax

    - name: Create private NIC
      ionoscloudsdk.ionoscloud.nic:
          datacenter: Example
          server: "{{ item.id }}"
          lan: 2
          state: present
      register: private_nic
      with_items: "{{ ionos.machines }}"

    - name: Update NIC
      ionoscloudsdk.ionoscloud.nic:
        datacenter: Example
        server: "{{ item.id }}"
        name: 7341c2454f
        lan: 1
        ips:
          - 158.222.103.23
          - 158.222.103.24
        dhcp: false
        state: update

Parameter Reference

The following parameters are supported:

Last updated