Skip to content

Commit

Permalink
Add integrated linters test
Browse files Browse the repository at this point in the history
Change-Id: Id0de75860060474ce470bcf17b4204fa0604c29d
  • Loading branch information
Dmitriy Rabotyagov committed Dec 6, 2021
1 parent 9d14e19 commit 74a2cdd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 9 deletions.
35 changes: 26 additions & 9 deletions examples/playbook.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,27 @@
.. code-block:: yaml
---

- name: Create a systemd unit file for ServiceX
hosts: localhost
become: true
roles:
- role: "systemd_service"
systemd_services:
- service_name: ServiceX
config_overrides: {}
- name: Create a systemd unit file for ServiceX
hosts: localhost
become: true
roles:
- role: "systemd_service"
systemd_services:
- service_name: "test oneshot service1"
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
1 change: 1 addition & 0 deletions zuul.d/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74a2cdd

Please sign in to comment.