Event-Driven Ansible

  Рет қаралды 1,751

Alex Dworjan

Жыл бұрын

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/shadowman-lab
All Ansible Blogs on Event-Driven Ansible: www.ansible.com/blog/topic/event-driven-automation
Event-Driven Ansible is here: www.ansible.com/blog/event-driven-ansible-is-here
Creating custom Event-Driven Ansible source plugins: www.ansible.com/blog/creating-custom-event-driven-ansible-source-plugins
Ansible Rulebook documentation: ansible.readthedocs.io/projects/rulebook/en/stable/
My Rulebook repo:
github.com/shadowman-lab/Ansible-Rulebooks

Пікірлер: 11
@alexal4
@alexal4 Жыл бұрын
Hi Alex, could you please tell where can I find alertmanager.yml example to round alerts to eda controller?
@alexdworjan
@alexdworjan 4 ай бұрын
github.com/shadowman-lab/Ansible-Labextra/blob/main/roles/prometheus/templates/alertmanager.yml.j2
@SadhamHussainsree
@SadhamHussainsree 9 ай бұрын
HI Alex,where can i find all the modules for ansible.eda? Great content.Thanks
@alexdworjan
@alexdworjan 9 ай бұрын
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, How you creating Application? Which options to use? It is two options available, not sure which exactly should be used?
@alexdworjan
@alexdworjan Жыл бұрын
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 Жыл бұрын
@@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.
Лучший браузер!
0:27
Honey Montana
Рет қаралды 832 М.
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
low battery 🪫
0:10
dednahype
Рет қаралды 1,4 МЛН
8 Товаров с Алиэкспресс, о которых ты мог и не знать!
49:47
РасПаковка ДваПаковка
Рет қаралды 169 М.