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
- name: Create a systemd mount file for Mount1 and 2 become: true
hosts: localhost roles:
become: true - role: "systemd_mount"
roles: vars:
- role: "systemd_mount" systemd_mounts:
systemd_mounts: machines:
machines: what: '/var/lib/machines.raw'
what: '/var/lib/machines.raw' where: '/var/lib/machines'
where: '/var/lib/machines' type: 'btrfs'
type: 'btrfs' options: 'loop'
options: 'loop' unit:
unit: ConditionPathExists:
ConditionPathExists: - '/var/lib/machines.raw'
- '/var/lib/machines.raw' state: 'started'
state: 'started' enabled: true
enabled: true glance_images:
glance_images: config_overrides: {}
config_overrides: {} What: "10.1.10.1:/srv/nfs"
What: "10.1.10.1:/srv/nfs" Where: "/var/lib/glance/images"
Where: "/var/lib/glance/images" type: "nfs"
type: "nfs" options: "_netdev,auto"
options: "_netdev,auto" unit:
unit: After:
After: - network.target
- network.target

View File

@ -15,6 +15,7 @@
- project: - project:
templates: templates:
- openstack-ansible-linters-jobs
- openstack-ansible-role-jobs - openstack-ansible-role-jobs
- openstack-ansible-deploy-aio_metal-jobs - openstack-ansible-deploy-aio_metal-jobs
- openstack-ansible-deploy-aio_distro_metal-jobs - openstack-ansible-deploy-aio_distro_metal-jobs