Skip to content

Commit ed7ec6a

Browse files
Falegundalow
authored andcommitted
Unquote urls in YAML - network (ansible#5792)
1 parent cdb6a61 commit ed7ec6a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

network/basics/uri.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
EXAMPLES = '''
156156
- name: Check that you can connect (GET) to a page and it returns a status 200
157157
uri:
158-
url: 'http://www.example.com'
158+
url: http://www.example.com
159159
160160
# Check that a page returns a status 200 and fail if the word AWESOME is not
161161
# in the page contents.

network/cumulus/cl_img_install.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
- name: Install image using using http url. Switch slots so the subsequent will load the new version
6363
cl_img_install:
6464
version: 2.0.1
65-
src: 'http://10.1.1.1/CumulusLinux-2.0.1.bin'
65+
src: http://10.1.1.1/CumulusLinux-2.0.1.bin
6666
switch_slot: yes
6767
6868
## Copy the software from the ansible server to the switch.
@@ -72,7 +72,7 @@
7272
7373
- name: Download cumulus linux to local system
7474
get_url:
75-
src: 'ftp://cumuluslinux.bin'
75+
src: ftp://cumuluslinux.bin
7676
dest: /root/CumulusLinux-2.0.1.bin
7777
7878
- name: Install image from local filesystem. Get version from the filename.
@@ -85,7 +85,7 @@
8585
8686
- name: Download cumulus linux to local system
8787
get_url:
88-
src: 'ftp://CumulusLinux-2.0.1.bin'
88+
src: ftp://CumulusLinux-2.0.1.bin
8989
dest: /root/image.bin
9090
9191
- name: install image and switch slots. only reboot needed

network/cumulus/cl_license.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
tasks:
6262
- name: install license using http url
6363
cl_license:
64-
src: 'http://10.1.1.1/license.txt'
64+
src: http://10.1.1.1/license.txt
6565
notify: restart switchd
6666
6767
- name: Triggers switchd to be restarted right away, before play, or role

0 commit comments

Comments
 (0)