mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -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
|
@ -49,26 +49,30 @@ requirements: ["a2enmod","a2dismod"]
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# enables the Apache2 module "wsgi"
|
||||
- apache2_module:
|
||||
- name: Enable the Apache2 module wsgi
|
||||
apache2_module:
|
||||
state: present
|
||||
name: wsgi
|
||||
# disables the Apache2 module "wsgi"
|
||||
- apache2_module:
|
||||
|
||||
- name: Disables the Apache2 module wsgi
|
||||
apache2_module:
|
||||
state: absent
|
||||
name: wsgi
|
||||
# disable default modules for Debian
|
||||
- apache2_module:
|
||||
|
||||
- name: Disable default modules for Debian
|
||||
apache2_module:
|
||||
state: absent
|
||||
name: autoindex
|
||||
force: True
|
||||
# disable mpm_worker and ignore warnings about missing mpm module
|
||||
- apache2_module:
|
||||
|
||||
- name: Disable mpm_worker and ignore warnings about missing mpm module
|
||||
apache2_module:
|
||||
state: absent
|
||||
name: mpm_worker
|
||||
ignore_configcheck: True
|
||||
# enable dump_io module, which is identified as dumpio_module inside apache2
|
||||
- apache2_module:
|
||||
|
||||
- name: Enable dump_io module, which is identified as dumpio_module inside apache2
|
||||
apache2_module:
|
||||
state: present
|
||||
name: dump_io
|
||||
identifier: dumpio_module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue