Bm
Size: a a a
Bm
i
Bm
Bm
Bm
---
- hosts: localhost
vars:
ansimble_host: '192.168.88.1'
ansible_ssh_user: 'admin'
ansible_password: 'blah'
ansible_port: '4242'
ansimble_network_os: 'routeros'
ansible_ssh_common_args: ' -o StrictHostKeyChecking=no '
# gather_facts: false
tasks:
- name: system command
routeros_command:
commands: /system routerboard print
register: system_print
- name: debug print
debug: var=system_print.stdout_lines
i
Bm
i
Bm
---
- hosts: localhost
vars:
ansimble_host: '192.168.88.1'
ansible_ssh_user: 'admin'
ansible_password: 'blah'
ansible_port: '4242'
ansimble_network_os: 'routeros'
ansible_ssh_common_args: ' -o StrictHostKeyChecking=no '
# gather_facts: false
tasks:
- name: system command
routeros_command:
commands: /system routerboard print
register: system_print
- name: debug print
debug: var=system_print.stdout_lines
Bm
Bm
Bm
K
K
r
K
Bm
m
RA
S