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

issue with check teem #29

Open xbill42 opened 4 years ago

xbill42 commented 4 years ago

ANSIBLE VERSION

ansible 2.9.11 config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.7/site-packages/ansible executable location = /usr/bin/ansible python version = 3.7.6 (default, Jan 30 2020, 09:44:41) [GCC 9.2.1 20190827 (Red Hat 9.2.1-1)]

BIGIP VERSION 13.1.3.4

AS3 version 3.22.1

Each time I run an AS3 post with same as3 template (no modifications) there is still a change detected regarding teem

TASK [f5devcentral.atc_deploy : check as3 declaration and include teem data if needed] **** changed: [bigip1]

When disabling the check teem (I don't need it) with check_teem: false the AS3 post fails :

TASK [f5devcentral.atc_deploy : POST AS3 declaration] ***** fatal: [bigip1]: FAILED! => {"msg": "The conditional check 'atc_AS3_result.json.results | map(attribute='message') | list | first != 'no change'' failed. The error was: error while evaluating conditional (atc_AS3_result.json.results | map(attribute='message') | list | first != 'no change'): 'dict object' has no attribute 'results'"}

rjouhann commented 4 years ago

+1