
PLAY [Deploy secure pricing service to staging] ********************************

TASK [Inspect current staging container] ***************************************
ok: [digitalocean]

TASK [Confirm release image exists] ********************************************
ok: [digitalocean]

TASK [Get desired release image ID] ********************************************
ok: [digitalocean]

TASK [Get current staging image ID] ********************************************
ok: [digitalocean]

TASK [Determine whether staging replacement is required] ***********************
[ERROR]: Task failed: Finalization of task args for 'ansible.builtin.set_fact' failed: Error while resolving value for 'replace_staging': object of type 'list' has no attribute 'State'

Task failed.
Origin: /Users/nageshwaranmanikumar/Desktop/SSW590/startup-product/pricing-service/ansible/deploy-staging.yml:59:7

57       check_mode: false
58
59     - name: Determine whether staging replacement is required
         ^ column 7

<<< caused by >>>

Finalization of task args for 'ansible.builtin.set_fact' failed.
Origin: /Users/nageshwaranmanikumar/Desktop/SSW590/startup-product/pricing-service/ansible/deploy-staging.yml:60:7

58
59     - name: Determine whether staging replacement is required
60       ansible.builtin.set_fact:
         ^ column 7

<<< caused by >>>

Error while resolving value for 'replace_staging': object of type 'list' has no attribute 'State'
Origin: /Users/nageshwaranmanikumar/Desktop/SSW590/startup-product/pricing-service/ansible/deploy-staging.yml:61:26

59     - name: Determine whether staging replacement is required
60       ansible.builtin.set_fact:
61         replace_staging: >-
                            ^ column 26

fatal: [digitalocean]: FAILED! => {"changed": false, "msg": "Task failed: Finalization of task args for 'ansible.builtin.set_fact' failed: Error while resolving value for 'replace_staging': object of type 'list' has no attribute 'State'"}

PLAY RECAP *********************************************************************
digitalocean               : ok=4    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0
