2012-10-05 09:09:49 +02:00
|
|
|
.TH ANSIBLE.@{ module | upper }@ 3 "@{ now_date }@" "@{ ansible_version }@" "ANSIBLE MODULES"
|
2013-11-01 09:20:05 +01:00
|
|
|
.\" generated from @{ filename }@
|
2012-09-26 20:41:44 +02:00
|
|
|
.SH NAME
|
|
|
|
@{ module }@ \- @{ short_description }@
|
2013-11-01 09:20:05 +01:00
|
|
|
.\" ------ DESCRIPTION
|
2012-09-26 20:41:44 +02:00
|
|
|
.SH DESCRIPTION
|
2012-09-30 15:06:18 +02:00
|
|
|
{% for desc in description %}
|
2012-09-26 20:41:44 +02:00
|
|
|
.PP
|
2013-12-25 17:44:01 +01:00
|
|
|
@{ desc | convert_symbols_to_format }@
|
2012-09-26 20:41:44 +02:00
|
|
|
{% endfor %}
|
2013-11-01 09:20:05 +01:00
|
|
|
.\" ------ OPTIONS
|
|
|
|
.\"
|
|
|
|
.\"
|
2012-09-30 15:06:18 +02:00
|
|
|
{% if options %}
|
2012-09-26 20:41:44 +02:00
|
|
|
.SH OPTIONS
|
2012-11-03 23:54:38 +01:00
|
|
|
{% for k in option_keys %}
|
|
|
|
{% set v = options[k] %}
|
2012-09-30 15:06:18 +02:00
|
|
|
|
2012-09-28 09:59:43 +02:00
|
|
|
.IP @{ k }@
|
2013-12-25 17:44:01 +01:00
|
|
|
{% for desc in v.description %}@{ desc | convert_symbols_to_format }@{% endfor %}
|
2012-09-28 09:59:43 +02:00
|
|
|
{% if v.get('choices') %}
|
2012-09-30 15:06:18 +02:00
|
|
|
|
2012-09-26 20:41:44 +02:00
|
|
|
.IR Choices :
|
2012-12-14 11:56:53 +01:00
|
|
|
{% for choice in v.get('choices',[]) %}{% if choice == True %}yes{%elif choice == False %}no{% else %}@{ choice }@{% endif %}{% if not loop.last %},{%else%}.{%endif%}{% endfor %}{% endif %}
|
2012-09-30 15:06:18 +02:00
|
|
|
{% if v.get('required') %}(required){% endif %}
|
2012-12-14 11:56:53 +01:00
|
|
|
{% if v.get('default') %} (default: {% if v.get('default') == True %}yes{%elif v.get('default') == False %}no{% else %}@{ v.get('default') }@){% endif %}{% endif %}
|
2012-09-26 20:41:44 +02:00
|
|
|
{#---------------------------------------------- #}
|
2012-09-30 15:06:18 +02:00
|
|
|
{% if v.get('version_added') %}
|
2012-09-28 09:59:43 +02:00
|
|
|
(Added in Ansible version @{ v.get('version_added') }@.)
|
2012-09-30 15:06:18 +02:00
|
|
|
{% endif %}
|
2012-09-28 09:59:43 +02:00
|
|
|
{% endfor %}
|
2012-09-26 20:41:44 +02:00
|
|
|
{% endif %}
|
2013-11-01 09:20:05 +01:00
|
|
|
.\"
|
|
|
|
.\"
|
|
|
|
.\" ------ NOTES
|
2012-09-30 15:06:18 +02:00
|
|
|
{% if notes %}
|
2012-09-26 20:41:44 +02:00
|
|
|
.SH NOTES
|
2012-09-30 15:06:18 +02:00
|
|
|
{% for note in notes %}
|
2012-09-26 20:41:44 +02:00
|
|
|
.PP
|
2013-12-25 17:44:01 +01:00
|
|
|
@{ note | convert_symbols_to_format }@
|
2012-09-30 15:06:18 +02:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2013-11-01 09:20:05 +01:00
|
|
|
.\"
|
|
|
|
.\"
|
|
|
|
.\" ------ EXAMPLES
|
2012-09-30 15:06:18 +02:00
|
|
|
{% if examples is defined %}
|
2012-09-26 20:41:44 +02:00
|
|
|
.SH EXAMPLES
|
2012-09-30 15:06:18 +02:00
|
|
|
{% for e in examples %}
|
2012-09-26 20:41:44 +02:00
|
|
|
.PP
|
2012-10-18 13:49:19 +02:00
|
|
|
{% if e['description'] %}
|
2013-12-25 17:44:01 +01:00
|
|
|
@{ e['description'] | convert_symbols_to_format }@
|
2012-10-18 13:49:19 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2012-09-26 20:41:44 +02:00
|
|
|
.nf
|
|
|
|
@{ e['code'] }@
|
|
|
|
.fi
|
2012-09-30 15:06:18 +02:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2013-11-01 09:20:05 +01:00
|
|
|
.\" ------ PLAINEXAMPLES
|
2013-02-18 15:31:38 +01:00
|
|
|
{% if plainexamples is defined %}
|
2013-11-01 09:20:05 +01:00
|
|
|
.SH EXAMPLES
|
2013-02-18 15:31:38 +01:00
|
|
|
.nf
|
|
|
|
@{ plainexamples }@
|
|
|
|
.fi
|
|
|
|
{% endif %}
|
|
|
|
|
2013-11-01 09:20:05 +01:00
|
|
|
.\" ------- AUTHOR
|
2012-09-30 15:06:18 +02:00
|
|
|
{% if author is defined %}
|
2012-09-26 20:41:44 +02:00
|
|
|
.SH AUTHOR
|
|
|
|
@{ author }@
|
2012-09-30 15:06:18 +02:00
|
|
|
{% endif %}
|
2012-09-26 20:41:44 +02:00
|
|
|
.SH SEE ALSO
|
|
|
|
.IR ansible (1),
|
|
|
|
.I http://ansible.github.com/modules.html#@{docuri}@
|