Skip to content

Commit

Permalink
Create ipaddress.yml
Browse files Browse the repository at this point in the history
adding simple playbook for adding an IP address
  • Loading branch information
IPvSean authored Sep 25, 2017
1 parent 6d7d504 commit a0cadc7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ipaddress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
- hosts: cisco
gather_facts: False
connection: local
tasks:
- nxos_config:
lines:
- no switchport
- ip address 172.16.1.1/24
parents: interface Ethernet1/20
provider: "{{login_info}}"

0 comments on commit a0cadc7

Please sign in to comment.