When using the nios_host_record module with a host record that contains an alias parameter, the module, when run, always shows the resulting play/task as changed. If no alias is present, then the module will correctly show that the result hasn't changed.
Task in playbook with two records: one with aliases and another without.
When using the nios_host_record module with a host record that contains an
alias
parameter, the module, when run, always shows the resulting play/task as changed. If noalias
is present, then the module will correctly show that the result hasn't changed.Task in playbook with two records: one with aliases and another without.
ansible-playbook output:
Environment