--- - name: Populate Config cli_config: config: "{{ lines }}" vars: lines: | interface GigabitEthernet 0/1 description this is interface1 mtu 65 speed 10 no shutdown interface GigabitEthernet 0/2 description this is interface2 mtu 110 duplex auto speed 100 shutdown