File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 155155EXAMPLES = '''
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.
Original file line number Diff line number Diff line change 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.
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.
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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments