christiangda / ansible-role-amazon-cloudwatch-agent

Ansible Role for Amazon Cloudwatch Agent
GNU General Public License v3.0
60 stars 45 forks source link

'cwa_package_signature' is undefined #55

Open Paddy-CH opened 1 year ago

Paddy-CH commented 1 year ago

Hi,

I'm testing this on a aws ec2 running RHEL 9.

When I run the playbook it fails with the following;

sible/roles/christiangda.amazon_cloudwatch_agent/tasks/install-redhat.yml:12 fatal: [instance1]: FAILED! => { "msg": "The task includes an option with an undefined variable. The error was: 'cwa_package_signature' is undefined. 'cwa_package_signature' is undefined\n\nThe error appears to be in '/home/me/.ansible/roles/christiangda.amazon_cloudwatch_agent/tasks/install-redhat.yml': line 12, column 3,

I'm new to ansible so appologies if I am doing something wrong.

Paddy-CH commented 1 year ago

The issue was that there was not an redhat-9.yml file in /vars