Ad Widget

Collapse

Playbook Ansible zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Thomas51
    Junior Member
    • Oct 2024
    • 19

    #1

    Playbook Ansible zabbix

    Hello,

    I am currently creating an Ansible playbook to automatically download the Zabbix agent. How can I secure it using GPG keys?


  • PavelZ
    Senior Member
    • Dec 2024
    • 162

    #2
    I suggest going straight to the developed community code. This repository is good and constantly evolving
    Zabbix Ansible modules. Contribute to ansible-collections/community.zabbix development by creating an account on GitHub.


    For install agent just use role https://github.com/ansible-collectio..._AGENT_ROLE.md

    Of course, the issues of adding gpg keys have also been implemented. As a last resort, copy the code from there.

    Comment


    • Thomas51
      Thomas51 commented
      Editing a comment
      Thanks! How do I test in pre-production with Cygwin? I'm on Windows.
  • PavelZ
    Senior Member
    • Dec 2024
    • 162

    #3
    I would still recommend VSL2 for Windows. It's a practically seamless experience and a real ansible.
    And if you want to do everything in enterprise manner, there is Molecule in docker
    Last edited by PavelZ; 21-05-2025, 20:16.

    Comment


    • Thomas51
      Thomas51 commented
      Editing a comment
      I downloaded the Ubuntu app from the Windows Store to test it — is that okay?
  • PavelZ
    Senior Member
    • Dec 2024
    • 162

    #4
    Yes, ubuntu TLS 24.04 is a good choice to start working with ansible. Everything will work in native environment.

    Comment


    • Thomas51
      Thomas51 commented
      Editing a comment
      Great, thank you very much, it works! And regarding the agent update, should it be done via Community ?
Working...