1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove quotes - Cloud/azure/azure.py (#19206)

* Remove unused quotes

* Explicit is better than inplicit
This commit is contained in:
Fabio Alessandro Locati 2017-01-08 16:28:48 +01:00 committed by John R Barker
parent 85f7d2b97a
commit 474c0dc87c

View file

@ -146,46 +146,43 @@ EXAMPLES = '''
# Note: None of these examples set subscription_id or management_cert_path # Note: None of these examples set subscription_id or management_cert_path
# It is assumed that their matching environment variables are set. # It is assumed that their matching environment variables are set.
# Provision virtual machine example - name: Provision virtual machine example
- local_action: azure:
module: azure
name: my-virtual-machine name: my-virtual-machine
role_size: Small role_size: Small
image: b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu_DAILY_BUILD-precise-12_04_3-LTS-amd64-server-20131205-en-us-30GB image: b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu_DAILY_BUILD-precise-12_04_3-LTS-amd64-server-20131205-en-us-30GB
location: 'East US' location: East US
user: ubuntu user: ubuntu
ssh_cert_path: /path/to/azure_x509_cert.pem ssh_cert_path: /path/to/azure_x509_cert.pem
storage_account: my-storage-account storage_account: my-storage-account
wait: yes wait: True
state: present
delegate_to: localhost
# Terminate virtual machine example - name: Terminate virtual machine example
- local_action: azure:
module: azure
name: my-virtual-machine name: my-virtual-machine
state: absent state: absent
delegate_to: localhost
#Create windows machine - name: Create windows machine
- hosts: all azure:
connection: local name: ben-Winows-23
tasks: hostname: win123
- local_action: os_type: windows
module: azure enable_winrm: True
name: "ben-Winows-23" subscription_id: '{{ azure_sub_id }}'
hostname: "win123" management_cert_path: '{{ azure_cert_path }}'
os_type: windows role_size: Small
enable_winrm: yes image: bd507d3a70934695bc2128e3e5a255ba__RightImage-Windows-2012-x64-v13.5
subscription_id: "{{ azure_sub_id }}" location: East Asia
management_cert_path: "{{ azure_cert_path }}" password: xxx
role_size: Small storage_account: benooytes
image: 'bd507d3a70934695bc2128e3e5a255ba__RightImage-Windows-2012-x64-v13.5' user: admin
location: 'East Asia' wait: True
password: "xxx" state: present
storage_account: benooytes virtual_network_name: '{{ vnet_name }}'
user: admin delegate_to: localhost
wait: yes
virtual_network_name: "{{ vnet_name }}"
''' '''
import base64 import base64