Unquote urls in YAML - network (#5792)
This commit is contained in:
parent
580c74140a
commit
e49667d94c
3 changed files with 5 additions and 5 deletions
|
@ -154,7 +154,7 @@ author: "Romeo Theriault (@romeotheriault)"
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
- name: Check that you can connect (GET) to a page and it returns a status 200
|
- name: Check that you can connect (GET) to a page and it returns a status 200
|
||||||
uri:
|
uri:
|
||||||
url: 'http://www.example.com'
|
url: http://www.example.com
|
||||||
|
|
||||||
# Check that a page returns a status 200 and fail if the word AWESOME is not
|
# Check that a page returns a status 200 and fail if the word AWESOME is not
|
||||||
# in the page contents.
|
# in the page contents.
|
||||||
|
|
|
@ -62,7 +62,7 @@ Example playbook entries using the cl_img_install module
|
||||||
- name: Install image using using http url. Switch slots so the subsequent will load the new version
|
- name: Install image using using http url. Switch slots so the subsequent will load the new version
|
||||||
cl_img_install:
|
cl_img_install:
|
||||||
version: 2.0.1
|
version: 2.0.1
|
||||||
src: 'http://10.1.1.1/CumulusLinux-2.0.1.bin'
|
src: http://10.1.1.1/CumulusLinux-2.0.1.bin
|
||||||
switch_slot: yes
|
switch_slot: yes
|
||||||
|
|
||||||
## Copy the software from the ansible server to the switch.
|
## Copy the software from the ansible server to the switch.
|
||||||
|
@ -72,7 +72,7 @@ Example playbook entries using the cl_img_install module
|
||||||
|
|
||||||
- name: Download cumulus linux to local system
|
- name: Download cumulus linux to local system
|
||||||
get_url:
|
get_url:
|
||||||
src: 'ftp://cumuluslinux.bin'
|
src: ftp://cumuluslinux.bin
|
||||||
dest: /root/CumulusLinux-2.0.1.bin
|
dest: /root/CumulusLinux-2.0.1.bin
|
||||||
|
|
||||||
- name: Install image from local filesystem. Get version from the filename.
|
- name: Install image from local filesystem. Get version from the filename.
|
||||||
|
@ -85,7 +85,7 @@ Example playbook entries using the cl_img_install module
|
||||||
|
|
||||||
- name: Download cumulus linux to local system
|
- name: Download cumulus linux to local system
|
||||||
get_url:
|
get_url:
|
||||||
src: 'ftp://CumulusLinux-2.0.1.bin'
|
src: ftp://CumulusLinux-2.0.1.bin
|
||||||
dest: /root/image.bin
|
dest: /root/image.bin
|
||||||
|
|
||||||
- name: install image and switch slots. only reboot needed
|
- name: install image and switch slots. only reboot needed
|
||||||
|
|
|
@ -61,7 +61,7 @@ EXAMPLES = '''
|
||||||
tasks:
|
tasks:
|
||||||
- name: install license using http url
|
- name: install license using http url
|
||||||
cl_license:
|
cl_license:
|
||||||
src: 'http://10.1.1.1/license.txt'
|
src: http://10.1.1.1/license.txt
|
||||||
notify: restart switchd
|
notify: restart switchd
|
||||||
|
|
||||||
- name: Triggers switchd to be restarted right away, before play, or role
|
- name: Triggers switchd to be restarted right away, before play, or role
|
||||||
|
|
Loading…
Reference in a new issue