mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
Make tower_license module idempotent SUMMARY Currently, the tower_license module always installs a license, without checking if Tower is already licensed. In general, Ansible modules are supposed to be idempotent. This PR updates the module to check whether Tower is already licensed, and do nothing in that case. A new parameter force is provided so the user can always install the license, or override an existing license with a new one. ISSUE TYPE Bughancement COMPONENT NAME awx_collection AWX VERSION awx: 18.0.0 (but really Tower 3.8.2) Reviewed-by: Shane McDonald <me@shanemcd.com> Reviewed-by: Christian Adams <rooftopcellist@gmail.com> Reviewed-by: Alan Rominger <arominge@redhat.com> Reviewed-by: Graham Mainwaring <graham@mhn.org> Reviewed-by: Bianca Henderson <beeankha@gmail.com>