Name | Type | Description | Notes |
---|---|---|---|
increment | OneOfstringinteger | A negative integer moves closer to top, positive integer closer to bottom, or literally top or bottom | [optional] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$schema: http://json-schema.org/draft-04/schema | |
additionalProperties: false | |
properties: | |
AMQ_MESH_DISCOVERY_TYPE: | |
default: kube | |
description: The discovery agent type to use for discovering mesh endpoints. 'dns' | |
will use OpenShift's DNS service to resolve endpoints. 'kube' will use | |
Kubernetes REST API to resolve service endpoints. If using 'kube' the | |
service account for the pod must have the 'view' role, which can be added | |
via 'oc policy add-role-to-user view system:serviceaccount:<namespace>:default' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.1 | |
info: | |
title: Test Regex generation for parameter validation | |
version: 1.0.0 | |
components: | |
responses: | |
OK_200: | |
description: OK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
name: Multiple actions with sequetial execution | |
rules: | |
- actions: | |
- action: | |
echo: | |
message: Hurray it works | |
- action: | |
debug: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Vars in rulebook | |
hosts: all | |
vars: | |
person: | |
age: 45 | |
name: Fred Flintstone | |
active: true | |
reliability: 86.9 | |
address: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: multiple conditions with assignments | |
hosts: all | |
sources: | |
- range: | |
limit: 5 | |
rules: | |
- name: r1 | |
condition: | |
all: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Using locals instead of events | |
hosts: all | |
sources: | |
- range: | |
limit: 5 | |
rules: | |
- name: r1 | |
condition: | |
all: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2022 Red Hat, Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# yaml-language-server: $schema=https://raw.githubusercontent.com/mkanoor/ansible-rulebook/schema_changes/ansible_rulebook/schema/ruleset_schema.json | |
- name: Test run workflow templates | |
hosts: all | |
sources: | |
- ansible.eda.range: | |
limit: 5 | |
rules: | |
- name: "Run workflow template" | |
condition: event.i == 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-06/schema#", | |
"type": "array", | |
"items": { | |
"$ref": "#/definitions/Welcome1Element" | |
}, | |
"definitions": { | |
"Welcome1Element": { | |
"type": "object", | |
"additionalProperties": false, |
OlderNewer