summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/noc/create_host.yml
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2016-12-09 14:40:43 -0500
committerRussell Teague <rteague@redhat.com>2016-12-12 13:54:24 -0500
commitbe97433dd559a3bdae4baedda20a7f17bd47450b (patch)
tree6f89b1ec06c19a9de87a5d1108d8ba9b6f069f34 /playbooks/adhoc/noc/create_host.yml
parentbf3fa6162880e2dff9c23d42ceb2197e071ba570 (diff)
downloadopenshift-be97433dd559a3bdae4baedda20a7f17bd47450b.tar.gz
openshift-be97433dd559a3bdae4baedda20a7f17bd47450b.tar.bz2
openshift-be97433dd559a3bdae4baedda20a7f17bd47450b.tar.xz
openshift-be97433dd559a3bdae4baedda20a7f17bd47450b.zip
YAML Linting
* Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
Diffstat (limited to 'playbooks/adhoc/noc/create_host.yml')
-rw-r--r--playbooks/adhoc/noc/create_host.yml19
1 files changed, 9 insertions, 10 deletions
diff --git a/playbooks/adhoc/noc/create_host.yml b/playbooks/adhoc/noc/create_host.yml
index 2d2cae2b5..318396bcc 100644
--- a/playbooks/adhoc/noc/create_host.yml
+++ b/playbooks/adhoc/noc/create_host.yml
@@ -16,7 +16,7 @@
host: ctr_test_kwoodson
filter:
host:
- - ctr_kwoodson_test_tmpl
+ - ctr_kwoodson_test_tmpl
register: tmpl_results
@@ -39,21 +39,20 @@
params:
host: ctr_test_kwoodson
interfaces:
- - type: 1
- main: 1
- useip: 1
- ip: 127.0.0.1
- dns: ""
- port: 10050
+ - type: 1
+ main: 1
+ useip: 1
+ ip: 127.0.0.1
+ dns: ""
+ port: 10050
groups:
- - groupid: 1
+ - groupid: 1
templates: "{{ tmpl_results.results | oo_collect('templateid') | oo_build_zabbix_list_dict('templateid') }}"
output: extend
filter:
host:
- - ctr_test_kwoodson
+ - ctr_test_kwoodson
register: host_results
- debug: var=host_results
-