mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-19 03:10:22 -07:00
Fix Ansible documentation in part of example formatting. Part 2 (#333)
* Fix Ansible documentation in part of example formatting * fix * Revert osx_defaults.py
This commit is contained in:
parent
328319b926
commit
327832dcbb
30 changed files with 299 additions and 268 deletions
|
@ -55,32 +55,32 @@ author:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# Manage the state of program to be in 'started' state.
|
||||
- supervisorctl:
|
||||
- name: Manage the state of program to be in started state
|
||||
supervisorctl:
|
||||
name: my_app
|
||||
state: started
|
||||
|
||||
# Manage the state of program group to be in 'started' state.
|
||||
- supervisorctl:
|
||||
- name: Manage the state of program group to be in started state
|
||||
supervisorctl:
|
||||
name: 'my_apps:'
|
||||
state: started
|
||||
|
||||
# Restart my_app, reading supervisorctl configuration from a specified file.
|
||||
- supervisorctl:
|
||||
- name: Restart my_app, reading supervisorctl configuration from a specified file
|
||||
supervisorctl:
|
||||
name: my_app
|
||||
state: restarted
|
||||
config: /var/opt/my_project/supervisord.conf
|
||||
|
||||
# Restart my_app, connecting to supervisord with credentials and server URL.
|
||||
- supervisorctl:
|
||||
- name: Restart my_app, connecting to supervisord with credentials and server URL
|
||||
supervisorctl:
|
||||
name: my_app
|
||||
state: restarted
|
||||
username: test
|
||||
password: testpass
|
||||
server_url: http://localhost:9001
|
||||
|
||||
# Send a signal to my_app via supervisorctl
|
||||
- supervisorctl:
|
||||
- name: Send a signal to my_app via supervisorctl
|
||||
supervisorctl:
|
||||
name: my_app
|
||||
state: signalled
|
||||
signal: USR1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue