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:
Andrew Klychkov 2020-05-15 13:27:06 +03:00 committed by GitHub
parent 328319b926
commit 327832dcbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 299 additions and 268 deletions

View file

@ -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