Add integrated linters test

Change-Id: If13ccbbe0b8bd2dffcdcd6e9bb3a810e5dd9d550
This commit is contained in:
Dmitriy Rabotyagov 2021-07-01 14:22:21 +03:00
parent f022abebcd
commit 11187fe5ef
2 changed files with 27 additions and 27 deletions

View File

@ -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

View File

@ -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