Infoblox should be run locally (#35390)

* Infoblox should be run locally

* use connection: local
pull/35479/head
John R Barker 7 years ago committed by GitHub
parent d16bc1c3f4
commit 923174a856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -72,6 +72,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
- name: update the comment for dns view - name: update the comment for dns view
nios_dns_view: nios_dns_view:
@ -82,6 +83,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
- name: remove the dns view instance - name: remove the dns view instance
nios_dns_view: nios_dns_view:
@ -91,6 +93,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
''' '''
RETURN = ''' # ''' RETURN = ''' # '''

@ -115,6 +115,8 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
- name: add a comment to an existing host record - name: add a comment to an existing host record
nios_host_record: nios_host_record:
name: host.ansible.com name: host.ansible.com
@ -126,6 +128,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
- name: remove a host record from the system - name: remove a host record from the system
nios_host_record: nios_host_record:
@ -135,6 +138,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
''' '''
RETURN = ''' # ''' RETURN = ''' # '''

@ -110,6 +110,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
- name: set dhcp options for a network - name: set dhcp options for a network
nios_network: nios_network:
@ -123,6 +124,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
- name: remove a network - name: remove a network
nios_network: nios_network:
@ -132,6 +134,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
''' '''
RETURN = ''' # ''' RETURN = ''' # '''

@ -67,6 +67,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
- name: update the comment for network view - name: update the comment for network view
nios_network_view: nios_network_view:
@ -77,6 +78,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
- name: remove the network view - name: remove the network view
nios_network_view: nios_network_view:
@ -86,6 +88,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
''' '''
RETURN = ''' # ''' RETURN = ''' # '''

@ -102,6 +102,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
- name: update the comment and ext attributes for an existing zone - name: update the comment and ext attributes for an existing zone
nios_zone: nios_zone:
@ -114,6 +115,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
- name: remove the dns zone - name: remove the dns zone
nios_zone: nios_zone:
@ -123,6 +125,7 @@ EXAMPLES = '''
host: "{{ inventory_hostname_short }}" host: "{{ inventory_hostname_short }}"
username: admin username: admin
password: admin password: admin
connection: local
''' '''
RETURN = ''' # ''' RETURN = ''' # '''

@ -76,4 +76,6 @@ options:
variable. variable.
required: false required: false
default: 1.4 default: 1.4
notes:
- "This module must be run locally, which can be achieved by specifying C(connection: local)."
""" """

Loading…
Cancel
Save