Nosmoht / ansible-module-foreman

Ansible module to manage configuration of Foreman
49 stars 32 forks source link

Templates operatingsystems update fix #106

Closed stana closed 5 years ago

stana commented 5 years ago

'title' field (composite of name, major and minor ver) uniquely identifies Operating Systems. Use it in get_operatingsystem_ids.

Fix config templates 'operatingsystems' updates (similar to organizations and locations - need to send 'operatingsystem_ids' to Foreman).

Rework equality check of config template operating systems to only compare and trigger update if provided (otherwise existing template operating systems deleted when not provided in playbook).