mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user