Doc standardization

reviewable/pr18780/r1
Michael DeHaan 12 years ago
parent 2438ef474a
commit 2bb25cac74

@ -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…
Cancel
Save