issues
search
Nosmoht
/
ansible-module-foreman
Ansible module to manage configuration of Foreman
49
stars
32
forks
source link
REFACTOR foreman_host
#101
Closed
Mamut3D
closed
5 years ago
Mamut3D
commented
5 years ago
changed comparison algorithm - now it only checks if only declared atributes match, this allows partial update of the existing host resource
removed duplicities
host is deleted earlier in the code when resource is set 'absent', no need to load aditional details about host
refactored a bit to satisfy linter
matched parameters in ensure with module names - it is not a good idea to use constacts from different lib here