Open mashoodakram opened 2 years ago
I am unable to reproduce your issue on Controller 3.20.1 using your given values. It is working for me. Can you please run the playbook with the -v
option to see the response from the URI call at the create if environment is absent, update if present
task?
Describe the bug
TASK [nginxinc.nginx_controller.nginx_controller_environment : create if environment is absent, update if present] *** failing with conditional check error after controller installs successfully.
To reproduce
Steps to reproduce the behaviour:
As part of install of nginx collections after successful install of controller run environment role as task.
See error
Expected behavior
Run role -name create environment after controller install then continue with steps defined in playbook - name: create location then agents tasks.
Your environment:
controller-installer-3.20.1.tar.gz remote controller Ubuntu 18.04.5 LTS Azure Database for PostgreSQL server PostgresSQL 9.6
ansible [core 2.11.4] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/vmadmin/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.6/dist-packages/ansible ansible collection location = /home/vmadmin/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0] jinja version = 2.10 libyaml = True
Additional context
Add any other context about the problem here.