Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - hosts: all
- vars:
- ansible_connection: network_cli
- ansible_network_os: ironware
- ansible_user: blah
- ansible_ssh_pass: blah
- ansible_become: yes
- ansible_become_method: enable
- ansible_python_interpreter: /usr/bin/python
- gather_facts: no
- tasks:
- - name: run commands
- ironware_command:
- commands:
- - rconsole 15
- - dm monitor
- - dmsg
- register: ironware_result
- - name: command output
- debug:
- var: ironware_result.stdout_lines
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement