mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Doc standardization
This commit is contained in:
parent
e01cdf876c
commit
1c4fa2c45e
1 changed files with 17 additions and 14 deletions
|
@ -42,26 +42,29 @@ options:
|
||||||
this number of minutes before turning itself off.
|
this number of minutes before turning itself off.
|
||||||
required: false
|
required: false
|
||||||
default: 30
|
default: 30
|
||||||
# WARNING: very careful when moving space around, below
|
|
||||||
examples:
|
|
||||||
- code: |
|
|
||||||
- hosts: devservers
|
|
||||||
gather_facts: false
|
|
||||||
connection: ssh
|
|
||||||
sudo: yes
|
|
||||||
tasks:
|
|
||||||
- action: fireball
|
|
||||||
- hosts: devservers
|
|
||||||
connection: fireball
|
|
||||||
tasks:
|
|
||||||
- command: /usr/bin/anything
|
|
||||||
description: "This example playbook has two plays: the first launches I(fireball) mode on all hosts via SSH, and the second actually starts using I(fireball) node for subsequent management over the fireball interface"
|
|
||||||
notes:
|
notes:
|
||||||
- See the advanced playbooks chapter for more about using fireball mode.
|
- See the advanced playbooks chapter for more about using fireball mode.
|
||||||
requirements: [ "zmq", "keyczar" ]
|
requirements: [ "zmq", "keyczar" ]
|
||||||
author: Michael DeHaan
|
author: Michael DeHaan
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
EXAMPLES = '''
|
||||||
|
# This example playbook has two plays: the first launches 'fireball' mode on all hosts via SSH, and
|
||||||
|
# the second actually starts using it for subsequent management over the fireball connection
|
||||||
|
|
||||||
|
- hosts: devservers
|
||||||
|
gather_facts: false
|
||||||
|
connection: ssh
|
||||||
|
sudo: yes
|
||||||
|
tasks:
|
||||||
|
- action: fireball
|
||||||
|
|
||||||
|
- hosts: devservers
|
||||||
|
connection: fireball
|
||||||
|
tasks:
|
||||||
|
- command: /usr/bin/anything
|
||||||
|
'''
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import shutil
|
import shutil
|
||||||
|
|
Loading…
Add table
Reference in a new issue