Hi,
There were already few topics related using playbooks on routers and
switches (systems without python).
But I didn't find answer on next:
Does it possible with raw module send few command in one ssh session?
Unfortunately below code, create 3 connections
- name: copy file
raw: "{{item}};"
with_items:
- conf t
- int gi0/0
- shutdown
To better understanding, I would like to get same behaviour such bash
construction
cat file.txt | ssh user@host_name
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/60bb4412-e54e-4599-8468-2c988f6de35e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.