From 11187fe5eff67f1eb92d380079040b7698d74e78 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 1 Jul 2021 14:22:21 +0300 Subject: [PATCH] Add integrated linters test Change-Id: If13ccbbe0b8bd2dffcdcd6e9bb3a810e5dd9d550 --- examples/playbook.yml | 53 +++++++++++++++++++++---------------------- zuul.d/project.yaml | 1 + 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/examples/playbook.yml b/examples/playbook.yml index c9afb32..c656e96 100644 --- a/examples/playbook.yml +++ b/examples/playbook.yml @@ -1,27 +1,26 @@ -.. code-block:: yaml - - - name: Create a systemd mount file for Mount1 and 2 - hosts: localhost - become: true - roles: - - role: "systemd_mount" - systemd_mounts: - machines: - what: '/var/lib/machines.raw' - where: '/var/lib/machines' - type: 'btrfs' - options: 'loop' - unit: - ConditionPathExists: - - '/var/lib/machines.raw' - state: 'started' - enabled: true - glance_images: - config_overrides: {} - What: "10.1.10.1:/srv/nfs" - Where: "/var/lib/glance/images" - type: "nfs" - options: "_netdev,auto" - unit: - After: - - network.target +- name: Create a systemd mount file for Mount1 and 2 + hosts: localhost + become: true + roles: + - role: "systemd_mount" + vars: + systemd_mounts: + machines: + what: '/var/lib/machines.raw' + where: '/var/lib/machines' + type: 'btrfs' + options: 'loop' + unit: + ConditionPathExists: + - '/var/lib/machines.raw' + state: 'started' + enabled: true + glance_images: + config_overrides: {} + What: "10.1.10.1:/srv/nfs" + Where: "/var/lib/glance/images" + type: "nfs" + options: "_netdev,auto" + unit: + After: + - network.target diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 6f43369..7e93cb3 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -15,6 +15,7 @@ - project: templates: + - openstack-ansible-linters-jobs - openstack-ansible-role-jobs - openstack-ansible-deploy-aio_metal-jobs - openstack-ansible-deploy-aio_distro_metal-jobs