2019-02-19 20:23:26 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# Copyright: (c) 2017, Ansible Project
|
2017-09-15 18:14:47 +00:00
|
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
|
|
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
|
2019-02-19 20:23:26 +00:00
|
|
|
DOCUMENTATION = r'''
|
2017-09-15 18:14:47 +00:00
|
|
|
options:
|
2018-06-25 04:00:07 +00:00
|
|
|
display_skipped_hosts:
|
2017-09-15 18:14:47 +00:00
|
|
|
name: Show skipped hosts
|
|
|
|
description: "Toggle to control displaying skipped task/host results in a task"
|
2019-02-19 20:23:26 +00:00
|
|
|
type: bool
|
|
|
|
default: yes
|
2017-09-15 18:14:47 +00:00
|
|
|
env:
|
|
|
|
- name: DISPLAY_SKIPPED_HOSTS
|
|
|
|
ini:
|
|
|
|
- key: display_skipped_hosts
|
|
|
|
section: defaults
|
2018-06-25 04:00:07 +00:00
|
|
|
display_ok_hosts:
|
|
|
|
name: Show 'ok' hosts
|
|
|
|
description: "Toggle to control displaying 'ok' task/host results in a task"
|
2019-02-19 20:23:26 +00:00
|
|
|
type: bool
|
|
|
|
default: yes
|
2018-06-25 04:00:07 +00:00
|
|
|
env:
|
|
|
|
- name: ANSIBLE_DISPLAY_OK_HOSTS
|
|
|
|
ini:
|
|
|
|
- key: display_ok_hosts
|
|
|
|
section: defaults
|
|
|
|
version_added: '2.7'
|
|
|
|
display_failed_stderr:
|
2019-01-09 16:43:59 +00:00
|
|
|
name: Use STDERR for failed and unreachable tasks
|
|
|
|
description: "Toggle to control whether failed and unreachable tasks are displayed to STDERR (vs. STDOUT)"
|
2019-02-19 20:23:26 +00:00
|
|
|
type: bool
|
|
|
|
default: no
|
2018-06-25 04:00:07 +00:00
|
|
|
env:
|
|
|
|
- name: ANSIBLE_DISPLAY_FAILED_STDERR
|
|
|
|
ini:
|
|
|
|
- key: display_failed_stderr
|
|
|
|
section: defaults
|
|
|
|
version_added: '2.7'
|
2017-09-15 18:14:47 +00:00
|
|
|
show_custom_stats:
|
|
|
|
name: Show custom stats
|
|
|
|
description: 'This adds the custom stats set via the set_stats plugin to the play recap'
|
2019-02-19 20:23:26 +00:00
|
|
|
type: bool
|
|
|
|
default: no
|
2017-09-15 18:14:47 +00:00
|
|
|
env:
|
|
|
|
- name: ANSIBLE_SHOW_CUSTOM_STATS
|
|
|
|
ini:
|
|
|
|
- key: show_custom_stats
|
|
|
|
section: defaults
|
2019-02-19 20:23:26 +00:00
|
|
|
'''
|