Event-Driven Ansible

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • This video will cover Event-Driven Ansible which became generally available as part of Ansible Automation Platform 2.4
    The presenter is Alex Dworjan
    Github: github.com/sha...
    All Ansible Blogs on Event-Driven Ansible: www.ansible.co...
    Event-Driven Ansible is here: www.ansible.co...
    Creating custom Event-Driven Ansible source plugins: www.ansible.co...
    Ansible Rulebook documentation: ansible.readth...
    My Rulebook repo:
    github.com/sha...

Комментарии • 11

  • @SadhamHussainsree
    @SadhamHussainsree 10 месяцев назад

    HI Alex,where can i find all the modules for ansible.eda?
    Great content.Thanks

    • @alexdworjan
      @alexdworjan  10 месяцев назад

      I go into the actual python code for the event_sources themselves. github.com/ansible/event-driven-ansible/tree/main/extensions/eda/plugins/event_source
      At the top of each event_source, you can find the docs

  • @alexal4
    @alexal4 Год назад

    Hi Alex, could you please tell where can I find alertmanager.yml example to round alerts to eda controller?

    • @alexdworjan
      @alexdworjan  6 месяцев назад

      github.com/shadowman-lab/Ansible-Labextra/blob/main/roles/prometheus/templates/alertmanager.yml.j2

  • @alexal4
    @alexal4 Год назад

    Hi, How you creating Application? Which options to use? It is two options available, not sure which exactly should be used?

    • @alexdworjan
      @alexdworjan  Год назад +1

      I created an application with the Authorization Code grant type and Confidential Client Type. docs.ansible.com/automation-controller/latest/html/userguide/applications_auth.html#create-a-new-application

    • @alexal4
      @alexal4 Год назад

      @@alexdworjan Thanks Alex. I tried both options, but getting application error. I will try it tonight again. Using version 2.4.1.
      It there some more verbose logs to find out what happening? Will be looking tonight for logs too.

    • @alexdworjan
      @alexdworjan  Год назад +1

      @@alexal4 An application error in automation controller? Or in EDA controller? And version 2.4.1 of what exactly? I would make sure the user you've created the token for has access to the Job Templates you are trying to run and that the token itself has write access.

    • @alexal4
      @alexal4 Год назад

      @@alexdworjan
      Error in EDA controller, nothing seen on AAP2 controller. I am using latest AAP2 bundle 2.4.1
      Need to check few thing tonight so it is not a template and I am using admin so no access issue.
      If it was template I would see something in jobs dashboard. I have small lab at home with Grafana and Prometheus and will try to make something
      similar you did, but sure can use for any services. We are migrating to AAP2 at work, will need it soon there too.
      This is the error I get: ERROR - Terminating Rule Check if endpoint is responding has an action run_module which needs inventory to be defined

    • @alexal4
      @alexal4 Год назад

      Everything is working now, it was problem with Token.