adfinis / ansible-role-icinga2_agent

This role is used to install the icinga2 agent
GNU General Public License v3.0
0 stars 9 forks source link

update apt-cache before installing dependencies on debian based distributions #30

Closed Paul-Weisser closed 1 month ago

Paul-Weisser commented 8 months ago
SUMMARY

update apt-cache before installing dependencies on debian based distributions

fixes #29

ISSUE TYPE
ANSIBLE VERSION
ansible [core 2.15.7]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/pweisser/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/pweisser/ansible-playbooks/venv/lib64/python3.9/site-packages/ansible
  ansible collection location = /home/pweisser/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/pweisser/ansible-playbooks/venv/bin/ansible
  python version = 3.9.18 (main, Sep  7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/home/pweisser/ansible-playbooks/venv/bin/python3)
  jinja version = 3.1.2
  libyaml = True
ADDITIONAL INFORMATION

This could influence the idempotency of this role - not sure how important it is

To not influence the idempotency changed_when could be set to false

adf-patrickha commented 1 month ago

Has been fixed by now in https://github.com/adfinis/ansible-role-icinga2_agent/commit/4fa05906eeb4d155eebb3d15eaba1f107ec9f7af