I am running the datadog role with ansible-galaxy in an amazon linux 2023 EC2.
Nothing more than setting the datadog role in a simple playbook and running ansible-galaxy command
Just setting the datadog_agent_major_version variable as 7 running the playbook get me this error
amazon-ebs: TASK [datadog-agent : include_tasks] *******************************************
amazon-ebs: included: /tmp/packer-provisioner-ansible-local/play-apps/roles/datadog-agent/tasks/pkg-redhat/install-latest.yml for 127.0.0.1
amazon-ebs:
amazon-ebs: TASK [datadog-agent : Install latest datadog-agent package (dnf)] **************
amazon-ebs: fatal: [127.0.0.1]: FAILED! => {"changed": false, "failures": ["No package datadog-agent available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
Using directly the datadog_agent_version variable with a specific version such as 7.32.0-1 get me this error :
amazon-ebs: TASK [datadog-agent : Install pinned datadog-agent package (dnf)] **************
amazon-ebs: fatal: [127.0.0.1]: FAILED! => {"changed": false, "failures": ["No package datadog-agent-7.32.0-1 available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
It seems either i missed something in my amazon linux instance , some dependancy lacking or else, it cannot retrieve any data-agent releases. I strongly doubt that the installation is incompatible with amazon linux 2023 instances so perhaps i missed something.
Hi all,
I am running the datadog role with ansible-galaxy in an amazon linux 2023 EC2. Nothing more than setting the datadog role in a simple playbook and running ansible-galaxy command
With ansible 2.15.3
Just setting the datadog_agent_major_version variable as 7 running the playbook get me this error
Using directly the datadog_agent_version variable with a specific version such as 7.32.0-1 get me this error :
It seems either i missed something in my amazon linux instance , some dependancy lacking or else, it cannot retrieve any data-agent releases. I strongly doubt that the installation is incompatible with amazon linux 2023 instances so perhaps i missed something.