mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
module_formatter: .rst now correctly handles code examples
- fixed template (it was the template), adding indentation with Jinja2 - added description of code examples to man-page template (was missing) - fixed fireball, cron, and debug module examples to confrom
This commit is contained in:
@@ -48,7 +48,7 @@ options:
|
||||
required: false
|
||||
default: "no"
|
||||
examples:
|
||||
- code:
|
||||
- code: |
|
||||
- local_action: debug msg="System $inventory_hostname has uuid $ansible_product_uuid"
|
||||
- local_action: debug msg="System $inventory_hostname lacks a gateway" fail=yes
|
||||
only_if: "is_unset('${ansible_default_ipv4.gateway}')"
|
||||
|
||||
Reference in New Issue
Block a user