Fix bare variable references in docs

This commit is contained in:
Andrew Gaffney
2016-11-10 10:12:03 -07:00
committed by Matt Clay
parent c6b08ca623
commit a8d80f7165
11 changed files with 17 additions and 17 deletions

View File

@@ -45,7 +45,7 @@ EXAMPLES = '''
- action:
module: debug
msg: "{{ item.dns_name }}"
with_items: elb_facts.elbs
with_items: "{{ elb_facts.elbs }}"
# Gather facts about a particular ELB
- action:
@@ -68,7 +68,7 @@ EXAMPLES = '''
- action:
module: debug
msg: "{{ item.dns_name }}"
with_items: elb_facts.elbs
with_items: "{{ elb_facts.elbs }}"
'''

View File

@@ -159,7 +159,7 @@ EXAMPLES = '''
- name: Add new instance to host group
add_host: hostname={{ item['ips'][0].public_ip }} groupname=azure_vms
with_items: azure.deployment.instances
with_items: "{{ azure.deployment.instances }}"
- hosts: azure_vms
user: devopscle

View File

@@ -97,7 +97,7 @@ EXAMPLES = '''
# Gather information about network managed by 'libvirt' remotely using uri
- virt_net: command=info uri='{{ item }}'
with_items: libvirt_uris
with_items: "{{ libvirt_uris }}"
register: networks
# Ensure that a network is active (needs to be defined and built first)

View File

@@ -108,7 +108,7 @@ EXAMPLES = '''
# Gather information about pools managed by 'libvirt' remotely using uri
- virt_pool: command=info uri='{{ item }}'
with_items: libvirt_uris
with_items: "{{ libvirt_uris }}"
register: storage_pools
# Ensure that a pool is active (needs to be defined and built first)

View File

@@ -51,7 +51,7 @@ smartos_image_facts:
debug: msg="{{ smartos_images[item]['name'] }}-{{smartos_images[item]['version'] }}
has {{ smartos_images[item]['clones'] }} VM(s)"
with_items: smartos_images.keys()
with_items: "{{ smartos_images.keys() }}"
'''
RETURN = '''

View File

@@ -61,7 +61,7 @@ EXAMPLES = '''
username: "{{ esxi_username }}"
password: "{{ site_password }}"
cluster_uuid: "{{ vsan_cluster.cluster_uuid }}"
with_items: groups['esxi'][1:]
with_items: "{{ groups['esxi'][1:] }}"
'''

View File

@@ -42,7 +42,7 @@ EXAMPLES = '''
- name: Print running VMs
debug: msg="{{ item }}"
with_items: xs_vms.keys()
with_items: "{{ xs_vms.keys() }}"
when: xs_vms[item]['power_state'] == "Running"
TASK: [Print running VMs] ***********************************************************