Differences

This shows you the differences between two versions of the page.

Link to this comparison view

differences_between_python_2_3 [2019/09/11 21:44]
matt created
differences_between_python_2_3 [2019/09/11 21:44] (current)
matt
Line 66: Line 66:
 </WRAP> </WRAP>
  
-=== Python V2 & V3 Compliant === 
-<WRAP prewrap> 
-<code> 
---- 
-- hosts: prod 
-  gather_facts: false 
-  connection: local 
- 
-  tasks: 
-   - name: Show Device Interfaces 
-     ios_command: 
-       commands: 
-         - show ip int bri 
-     register: out 
-   - name: Save Info  
-     copy:  
-      content: "{{ out.stdout[0] }}" 
-      dest: "/home/dm/Downloads/sh_int-{{ inventory_hostname }}.txt" 
-</code> 
-</WRAP>