hii, i got this error while executing the playbook for installing a package using variable module.

TASK [install a package] ********************************************************************************************************************
fatal: [172.31.37.218]: FAILED! => {“changed”: false, “msg”: “Failure talking to yum: Could not contact any CDS load balancers: rhui2-cds01.us-east-2.aws.ce.redhat.com, rhui2-cds02.us-east-2.aws.ce.redhat.com.”}
[WARNING]: Could not create retry file ‘/etc/ansible/playbooks/var.retry’. [Errno 13] Permission denied:
u’/etc/ansible/playbooks/var.retry’

Write sudo with the command to try