From a0cadc72328ade72760c4b89e3f55ea3cacba233 Mon Sep 17 00:00:00 2001 From: Sean Cavanaugh Date: Mon, 25 Sep 2017 16:54:39 -0400 Subject: [PATCH] Create ipaddress.yml adding simple playbook for adding an IP address --- ipaddress.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ipaddress.yml diff --git a/ipaddress.yml b/ipaddress.yml new file mode 100644 index 0000000..05fd804 --- /dev/null +++ b/ipaddress.yml @@ -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}}"