2019-08-02 11:34:53 +03:00
|
|
|
---
|
|
|
|
dependency:
|
|
|
|
name: galaxy
|
|
|
|
driver:
|
|
|
|
name: docker
|
|
|
|
lint:
|
|
|
|
name: yamllint
|
|
|
|
enabled: True
|
|
|
|
options:
|
|
|
|
config-data:
|
|
|
|
ignore: ../../hosts.yml
|
|
|
|
platforms:
|
|
|
|
- name: monitor-host
|
|
|
|
groups:
|
|
|
|
- example
|
|
|
|
children:
|
|
|
|
- monitor
|
|
|
|
image: ubuntu:16.04
|
|
|
|
privileged: true
|
|
|
|
network_mode: host
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
provisioner:
|
|
|
|
name: ansible
|
|
|
|
lint:
|
|
|
|
name: ansible-lint
|
|
|
|
enabled: True
|
|
|
|
options:
|
|
|
|
r: ["bug"]
|
|
|
|
playbooks:
|
|
|
|
prepare: ../prepare.yml
|
2020-01-10 15:55:35 +03:00
|
|
|
converge: ./converge.yml
|
2019-08-02 11:34:53 +03:00
|
|
|
inventory:
|
|
|
|
host_vars:
|
|
|
|
monitor-host:
|
2020-01-10 15:55:35 +03:00
|
|
|
MONITOR_PORT: 3003
|
2019-08-02 11:34:53 +03:00
|
|
|
syslog_server_port: "udp://127.0.0.1:514"
|
|
|
|
verifier:
|
|
|
|
name: testinfra
|
|
|
|
lint:
|
|
|
|
name: flake8
|
|
|
|
additional_files_or_dirs:
|
|
|
|
- ../../tests/*
|
|
|
|
scenario:
|
|
|
|
name: monitor
|
|
|
|
test_sequence:
|
|
|
|
- lint
|
|
|
|
- cleanup
|
|
|
|
- destroy
|
|
|
|
- dependency
|
|
|
|
- syntax
|
|
|
|
- create
|
|
|
|
- prepare
|
|
|
|
- converge
|
|
|
|
- verify
|
|
|
|
- destroy
|