f5devcentral / ansible-role-f5_atc_deploy_declaration

Ansible role used to deploy declaratives to F5 Automated Tool Chain services: AS3, DO, and TS
Apache License 2.0
7 stars 11 forks source link

Align atc_deploy status with ansible behavior (changed/ok) correctly #40

Open meghdivya opened 3 years ago

meghdivya commented 3 years ago

When I run AS3/DO with the same payload, I see the final status of the atc_deploy as always changed(yellow) (not ok green), although there was no change in the configuration. And the user is in confusion about whether the operation changed some configuration or not.

megamattzilla commented 3 years ago

Example running ATC AS3 deploy twice (no declaration changes):

PLAY RECAP *********************************************************************
big-ip-01 : ok=20   changed=3    unreachable=0    failed=0    skipped=9    rescued=0    ignored=0   
big-ip-02 : ok=20   changed=3    unreachable=0    failed=0    skipped=9    rescued=0    ignored=0
rjouhann commented 2 years ago

Hello,

F5 has been working on new modules to deploy AS3/DO declarations. I would recommend you to use those instead of the galaxy roles.

https://clouddocs.f5.com/products/orchestration/ansible/devel/f5_bigip/modules_2_0/module_index.html

Thanks & Regards, Roman