From 930f3ad01417d9b67c84eb167fbc83a354462948 Mon Sep 17 00:00:00 2001
From: Dmitriy Rabotyagov <dmitriy.rabotyagov@citynetwork.eu>
Date: Fri, 21 May 2021 16:07:05 +0300
Subject: [PATCH] Replace linters test with integarted one

We've created integrated linters check job a while back and it's successfully
working for several releases. At the moment we experience difficulties
with future maintenance of the linters check from the openstack-ansible-tests
repo. So instead of fixing current one, we replace it with modern version of
the test.

Change-Id: I97294abdb29266a0989b3399d5c25b32dbc39112
---
 examples/playbook.yml | 21 ++++++++++++++++++++-
 zuul.d/project.yaml   |  2 +-
 2 files changed, 21 insertions(+), 2 deletions(-)
 mode change 120000 => 100644 examples/playbook.yml

diff --git a/examples/playbook.yml b/examples/playbook.yml
deleted file mode 120000
index ae94f6a..0000000
--- a/examples/playbook.yml
+++ /dev/null
@@ -1 +0,0 @@
-../tests/test-install-zun.yml
\ No newline at end of file
diff --git a/examples/playbook.yml b/examples/playbook.yml
new file mode 100644
index 0000000..fd69f97
--- /dev/null
+++ b/examples/playbook.yml
@@ -0,0 +1,20 @@
+---
+
+- name: Gather zun facts
+  hosts: zun_all
+  gather_facts: True
+  tags:
+    - always
+
+- name: Install zun services
+  hosts: zun_all
+  gather_facts: False
+  serial:
+    - 1
+    - "100%"
+  user: root
+  environment: "{{ deployment_environment_variables | default({}) }}"
+  tags:
+    - zun
+  roles:
+   - role: "os_zun"
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index cf33d4e..749bb60 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -16,7 +16,7 @@
 - project:
     templates:
       - check-requirements
-      - openstack-ansible-linters
+      - openstack-ansible-linters-jobs
       - openstack-ansible-deploy-aio_metal-jobs
       - publish-openstack-docs-pti
       - build-release-notes-jobs-python3