Skip to content

not idempotent #689

@emyr666

Description

@emyr666

It keeps saying...

TASK [network : Configure networking connection profiles] **********************
changed: [hostname]

...every time I run the playbook but nothing has changed.

This is the network role section. The template vars come from the host_vars files for each host.

    - role: network
      network_connections:
      - name: ens18
        type: ethernet
        autoconnect: true
        mac: "{{ pxe_mac }}"
        ip:
          dhcp4: true
      - name: ens19
        type: ethernet
        autoconnect: true
        mac: "{{ fast_mac }}"
        ip:
          dhcp4: false
          dhcp4: false
          gateway4: 10.21.0.253
          address:
          - "{{ fast_ip }}/16"
      - persistent_state: absent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions