Merge "Add integrated linters test"
This commit is contained in:
commit
1011acf6d2
@ -1,10 +1,27 @@
|
|||||||
.. code-block:: yaml
|
---
|
||||||
|
|
||||||
- name: Create a systemd unit file for ServiceX
|
- name: Create a systemd unit file for ServiceX
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- role: "systemd_service"
|
- role: "systemd_service"
|
||||||
systemd_services:
|
systemd_services:
|
||||||
- service_name: ServiceX
|
- service_name: "test oneshot service1"
|
||||||
config_overrides: {}
|
config_overrides:
|
||||||
|
Unit:
|
||||||
|
Description: Test oneshot service
|
||||||
|
After: network-online.target
|
||||||
|
Wants: network-online.target
|
||||||
|
Service:
|
||||||
|
RemainAfterExit: yes
|
||||||
|
service_type: oneshot
|
||||||
|
execstarts:
|
||||||
|
- "/bin/bash -c 'echo start1'"
|
||||||
|
- "/bin/bash -c 'echo start2'"
|
||||||
|
execstops:
|
||||||
|
- "/bin/bash -c 'echo stop1'"
|
||||||
|
- "/bin/bash -c 'echo stop2'"
|
||||||
|
enabled: yes
|
||||||
|
state: started
|
||||||
|
systemd_tempd_prefix: openstack
|
||||||
|
systemd_lock_path: /var/lock/networking
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user