Skip to content

Instantly share code, notes, and snippets.

@mkanoor
mkanoor / injectors.yml
Created April 25, 2026 11:50
concurrency_injectors
env:
EDA_MAX_CONCURRENT_ACTIONS : '{{ max_concurrent_actions }}'
EDA_MAX_ACTIONS_TIMEOUT : '{{ max_actions_timeout }}'
@mkanoor
mkanoor / concurrency.yml
Created April 25, 2026 11:48
Ansible-Rulebook controls
fields:
- id: max_concurrent_actions
type: string
label: Maximum Concurrent Actions
help_text: When using parallel execution strategy you can control the number of concurrent actions that are running.
- id: max_actions_timeout
type: string
label: Maximum Actions Timeout
help_text: The maximum time to wait for all actions to complete
@mkanoor
mkanoor / kafka_avro_injectors.yml
Last active March 27, 2026 16:59
Kafka Avro Injectors
file:
template.cafile: '{{cafile}}'
template.avro_schema_file: '{{avro_schema_file}}'
extra_vars:
host: '{{host}}'
port: '{{port}}'
topic: '{{topic}}'
offset: '{{offset}}'
group_id: '{{group_id}}'
verify_mode: '{{verify_mode}}'
@mkanoor
mkanoor / kafka_avro.yml
Created March 27, 2026 16:57
Kafka_with_avro
fields:
- id: host
type: string
label: Host
default: localhost
- id: port
type: string
label: Port
default: '9092'
help_text: The Kafka Port Number
fields:
- id: host
type: string
label: Host
default: localhost
- id: port
type: string
label: Port
default: '9092'
help_text: The Kafka Port Number
env:
NO_PROXY: '{{ no_proxy }}'
HTTP_PROXY: '{{ http_proxy }}'
HTTPS_PROXY: '{{ https_proxy }}'
fields:
- id: http_proxy
type: string
label: HTTP Proxy
help_text: The HTTP Proxy server to access remote resources
- id: https_proxy
type: string
label: HTTPS Proxy
help_text: The HTTPS Proxy server to access remote resources via HTTPS
- id: no_proxy
fields:
- id: primary_encryption_secret
type: string
label: Primary Encryption Secret
format: aes_key
secret: true
help_text: >-
Used to derive AES keys for database encryption (note: may impact
performance). Warning: This secret is not stored in our system; you must
manually enter and remember it. If lost, an Activation reset is required.
fields:
- id: postgres_db_host
type: string
label: Postgres DB Host
help_text: Postgres DB Server
- id: postgres_db_port
type: string
label: Postgres DB Port
default: '5432'
help_text: Postgres DB Port
file:
template.drools_sslkey: '{{ postgres_sslkey }}'
template.drools_sslcert: '{{ postgres_sslcert }}'
template.drools_sslrootcert: '{{ postgres_sslrootcert }}'
extra_vars:
drools_db_host: '{{ postgres_db_host }}'
drools_db_name: '{{ postgres_db_name }}'
drools_db_port: '{{ postgres_db_port }}'
drools_db_user: '{{ postgres_db_user }}'
drools_sslmode: '{{ postgres_sslmode }}'