diff options
author | Fabio Alessandro Locati <me@fale.io> | 2016-12-02 15:27:26 +0000 |
---|---|---|
committer | John R Barker <john@johnrbarker.com> | 2016-12-02 15:27:26 +0000 |
commit | ed7ec6aa86425918f9bbfec50aa7b8212701a689 (patch) | |
tree | 4fb9494103ff44e33098c0105e40e3d25216608e | |
parent | cdb6a61f0da4a67e58704ab1ccdb6e1d0877148a (diff) | |
download | ansible-modules-core-ed7ec6aa86425918f9bbfec50aa7b8212701a689.tar.gz |
Unquote urls in YAML - network (#5792)
-rw-r--r-- | network/basics/uri.py | 2 | ||||
-rw-r--r-- | network/cumulus/cl_img_install.py | 6 | ||||
-rw-r--r-- | network/cumulus/cl_license.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/network/basics/uri.py b/network/basics/uri.py index c66ce399..0c1e9b67 100644 --- a/network/basics/uri.py +++ b/network/basics/uri.py @@ -155,7 +155,7 @@ author: "Romeo Theriault (@romeotheriault)" EXAMPLES = ''' - name: Check that you can connect (GET) to a page and it returns a status 200 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 # in the page contents. diff --git a/network/cumulus/cl_img_install.py b/network/cumulus/cl_img_install.py index cfd5f454..c5d7c45f 100644 --- a/network/cumulus/cl_img_install.py +++ b/network/cumulus/cl_img_install.py @@ -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 cl_img_install: 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 ## 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 get_url: - src: 'ftp://cumuluslinux.bin' + src: ftp://cumuluslinux.bin dest: /root/CumulusLinux-2.0.1.bin - 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 get_url: - src: 'ftp://CumulusLinux-2.0.1.bin' + src: ftp://CumulusLinux-2.0.1.bin dest: /root/image.bin - name: install image and switch slots. only reboot needed diff --git a/network/cumulus/cl_license.py b/network/cumulus/cl_license.py index 8097cda5..37f20b7c 100644 --- a/network/cumulus/cl_license.py +++ b/network/cumulus/cl_license.py @@ -61,7 +61,7 @@ EXAMPLES = ''' tasks: - name: install license using http url cl_license: - src: 'http://10.1.1.1/license.txt' + src: http://10.1.1.1/license.txt notify: restart switchd - name: Triggers switchd to be restarted right away, before play, or role |