mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
25 lines
497 B
YAML
25 lines
497 B
YAML
|
---
|
||
|
- name: Services/Subsystems tests for AIX
|
||
|
hosts: localhost
|
||
|
connection: local
|
||
|
tasks:
|
||
|
- name: spooler shutdown
|
||
|
service:
|
||
|
name: spooler
|
||
|
state: started
|
||
|
|
||
|
- name: stopping sendmail
|
||
|
service:
|
||
|
name: sendmail
|
||
|
state: stopped
|
||
|
|
||
|
- name: starting sendmail
|
||
|
service:
|
||
|
name: sendmail
|
||
|
state: started
|
||
|
|
||
|
- name: starting an inexistent subsystem and group subsystem
|
||
|
service:
|
||
|
name: fakeservice
|
||
|
state: stopped
|