Skip to content

Commit

Permalink
Merge pull request #452 from rebtoor/plugins_production_profile
Browse files Browse the repository at this point in the history
Fix YAML errors in `plugins/filter` documentation files
  • Loading branch information
openshift-ci[bot] authored Oct 16, 2023
2 parents fd50abd + 296978b commit da84531
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions plugins/filter/dict_to_list.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---

DOCUMENTATION:
name: dict_to_list
author: "EDPM team"
Expand Down
4 changes: 3 additions & 1 deletion plugins/filter/haskey.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---

DOCUMENTATION:
name: haskey
author: "EDPM team"
Expand All @@ -16,7 +18,7 @@ DOCUMENTATION:
with reverse, we'll just exclude the items which had a key from
excluded_keys in the reversed list.
EXAMPLES: |
"{{ all_containers_hash | osp.edpm.dict_to_list | osp.edpm.haskey(attribute='restart', value=['always','unless-stopped'], any=True) | default([]) }}"
"{{ all_containers_hash | osp.edpm.dict_to_list | osp.edpm.haskey(attribute='restart', value=['always','unless-stopped'], any=True) | default([]) }}"
RETURN:
_value:
description: dictionaries containing key
Expand Down
4 changes: 3 additions & 1 deletion plugins/filter/jump_chain_targets.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---

DOCUMENTATION:
name: jump_chain_targets
author: "EDPM team"
Expand All @@ -9,7 +11,7 @@ DOCUMENTATION:
Used by the osp.edpm.nftables role.
EXAMPLES: |
'{{ edpm_nftables_chains_prefix }}_'~rule.get('chain', 'INPUT')
not in ( existing | osp.edpm.jump_chain_targets(rule=rule) )
not in ( existing | osp.edpm.jump_chain_targets(rule=rule) )
RETURN:
_value:
description: list of jump chain targets
Expand Down
2 changes: 2 additions & 0 deletions plugins/filter/needs_delete.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---

DOCUMENTATION:
name: needs_delete
author: "EDPM team"
Expand Down

0 comments on commit da84531

Please sign in to comment.