mirror of https://github.com/ansible/ansible.git
updated single quote handling to not strip and error on odd number (#67500)
Fixes #67274pull/67711/head
parent
eab914426b
commit
bd26b6c0b4
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- edgeos_config - fixed issue of handling single quotation marks. Now fails when unmatched (odd numbers)
|
@ -1,10 +1,10 @@
|
|||||||
set system host-name 'router'
|
set system host-name 'router'
|
||||||
set system domain-name 'acme.com'
|
set system domain-name 'acme.com'
|
||||||
set system domain-search domain 'acme.com'
|
set system domain-search domain 'acme.com'
|
||||||
set system name-server '208.67.220.220'
|
set system name-server 208.67.220.220
|
||||||
set system name-server '208.67.222.222'
|
set system name-server 208.67.222.222
|
||||||
set interfaces ethernet eth0 address '1.2.3.4/24'
|
set interfaces ethernet eth0 address 1.2.3.4/24
|
||||||
set interfaces ethernet eth0 description 'Outside'
|
set interfaces ethernet eth0 description 'Outside'
|
||||||
set interfaces ethernet eth1 address '10.77.88.1/24'
|
set interfaces ethernet eth1 address 10.77.88.1/24
|
||||||
set interfaces ethernet eth1 description 'Inside'
|
set interfaces ethernet eth1 description 'Inside'
|
||||||
set interfaces ethernet eth1 disable
|
set interfaces ethernet eth1 disable
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
set system host-name er01
|
set system host-name er01
|
||||||
delete interfaces ethernet eth0 address
|
delete interfaces ethernet eth0 address
|
||||||
set interfaces ethernet eth1 address '10.77.88.1/24'
|
set interfaces ethernet eth1 address 10.77.88.1/24
|
||||||
set interfaces ethernet eth1 description 'Inside'
|
set interfaces ethernet eth1 description 'Inside'
|
||||||
set interfaces ethernet eth1 disable
|
set interfaces ethernet eth1 disable
|
||||||
|
Loading…
Reference in New Issue