Is there any way it’s currently possible to change host settings via Ansible?
An example of this: changing the IPv6 prefix for an already provisioned system.
Although I could make a script that duplicates the network parameters, it would be nice to be able to access the configured host parameters and apply these after the provisioning.
- we have a bunch of devices that I’d like to pre-provision as Smart Proxies, however, it’s not always clear in which network they will be deployed exactly, therefore it would be great if I could change my settings in the Foreman UI and it would be possible to re-configure it using an Ansible script.
- Blue green deployments: changing the environment for a host can be taken into account for situation in which we want to switch over deployments of servers?
If this is not possible (and AFAIK it isn’t but could be that I’m wrong); would this not be a nice-additional set of parameters?
Perhaps this could also trigger a debate on “rex triggers”; for instance: when parameters are changed by a user, this triggers reconfiguring the host via the CM of choice?
I think the above-mentioned things are possible with Puppet; no?