1
0
Fork 0
salty-dog/rules/ansible.yml

53 lines
1.1 KiB
YAML
Raw Permalink Normal View History

name: salty-dog-ansible
2019-06-16 01:42:40 +00:00
rules:
- name: ansible-playbook
desc: ensure plays have important properties
level: info
tags:
2019-06-16 03:54:40 +00:00
- ansible
2019-06-16 01:42:40 +00:00
- playbook
check:
type: array
items:
type: object
required: [name, hosts, roles, tags]
properties:
name:
type: string
hosts:
type: string
roles:
type: array
items:
type: object
required: [role]
properties:
role:
type: string
tags:
type: array
items:
type: string
- name: ansible-role
desc: ensure roles have complete tasks
level: info
tags:
2019-06-16 03:54:40 +00:00
- ansible
2019-06-16 01:42:40 +00:00
- role
check:
type: array
items:
type: object
additionalProperties:
type: object
required: [name]
properties:
name:
type: string
environment:
type: object
additionalProperties:
type: string