Nosmoht / ansible-module-foreman

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

Allow to update more hostgroup parameters #43

Closed agx closed 8 years ago

agx commented 8 years ago

The current code excluded quiet some parameters. Updating works (at least with Foreman 1.10 onward) if we convert the ids to strings.

We then need to filter out all _name attributes of the returned hostgroup (we do this via a white list) and convert the ids to strings for comparison as well to not report items as changed which arent.

agx commented 8 years ago

Needs more work, will investigate.