From e987b4f9ec2d6bf9130a34b34c63d19a3248c899 Mon Sep 17 00:00:00 2001 From: fpxie Date: Mon, 7 May 2018 09:29:10 +0800 Subject: [PATCH] Trivial: Fix the pep8 warning The yaml should start with "---" Change-Id: Ica4e1888cc5e7c0f552044ff06c6719694e039c8 --- examples/playbook.yml | 1 + extras/ansible-role-requirements.yml | 1 + extras/conf.d/monasca.yml | 1 + extras/os_horizon/defaults/main.yml | 1 + extras/os_horizon/tasks/horizon_post_install.yml | 1 + extras/user_secrets.yml | 1 + tests/ansible-role-requirements.yml | 1 + zuul.d/project.yaml | 1 + 8 files changed, 8 insertions(+) diff --git a/examples/playbook.yml b/examples/playbook.yml index 8d28314..87c506d 100644 --- a/examples/playbook.yml +++ b/examples/playbook.yml @@ -1,3 +1,4 @@ +--- # 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 diff --git a/extras/ansible-role-requirements.yml b/extras/ansible-role-requirements.yml index 414a649..a77dba1 100644 --- a/extras/ansible-role-requirements.yml +++ b/extras/ansible-role-requirements.yml @@ -1,3 +1,4 @@ +--- - name: ansible-zookeeper scm: git src: https://github.com/Chillisystems/ansible-zookeeper diff --git a/extras/conf.d/monasca.yml b/extras/conf.d/monasca.yml index 2c1f015..2d70962 100644 --- a/extras/conf.d/monasca.yml +++ b/extras/conf.d/monasca.yml @@ -1,3 +1,4 @@ +--- # The infra nodes that will be running the monasca services monasca-infra_hosts: aio1: diff --git a/extras/os_horizon/defaults/main.yml b/extras/os_horizon/defaults/main.yml index 026a661..b84f0d3 100644 --- a/extras/os_horizon/defaults/main.yml +++ b/extras/os_horizon/defaults/main.yml @@ -1,3 +1,4 @@ +--- horizon_enable_monasca_ui: True horizon_grafana_url: "https://{{ external_lb_vip_address }}:3000" horizon_pip_packages: diff --git a/extras/os_horizon/tasks/horizon_post_install.yml b/extras/os_horizon/tasks/horizon_post_install.yml index 5711541..5fae822 100644 --- a/extras/os_horizon/tasks/horizon_post_install.yml +++ b/extras/os_horizon/tasks/horizon_post_install.yml @@ -1,3 +1,4 @@ +--- - name: Enable the monasca-ui-dashboard Horizon panel file: src: "{{ horizon_lib_dir }}/monitoring/enabled/_50_admin_add_monitoring_panel.py" diff --git a/extras/user_secrets.yml b/extras/user_secrets.yml index c6ecda8..4d5dcce 100644 --- a/extras/user_secrets.yml +++ b/extras/user_secrets.yml @@ -1,3 +1,4 @@ +--- grafana_admin_password: grafana_galera_password: monasca_container_mysql_password: diff --git a/tests/ansible-role-requirements.yml b/tests/ansible-role-requirements.yml index 0004170..4cbb383 100644 --- a/tests/ansible-role-requirements.yml +++ b/tests/ansible-role-requirements.yml @@ -1,3 +1,4 @@ +--- - name: apt_package_pinning src: https://git.openstack.org/openstack/openstack-ansible-apt_package_pinning scm: git diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index d117d16..30b46d3 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -1,3 +1,4 @@ +--- # Copyright 2017, Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License");