Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.44 KB | None | 0 0
  1.  #FUNCTIONALITY BASELINE: PING SWEEP
  2. - name: PING SUBNETS
  3.   delegate_to: 10.253.44.37
  4.   nxos_ping:
  5.     dest: "{{ item }}"
  6.     # host: "{{ ansible_host }}"
  7.     state: present
  8.   with_items:
  9.    - 10.159.147.1
  10.     - 10.159.147.2
  11.     - 10.159.147.3
  12.     - 10.121.10.254
  13.     # - "{{ subnet | ipaddr('1') | ipaddr('address') }}"
  14.     # - "{{ subnet | ipaddr('2') | ipaddr('address') }}"
  15.     # - "{{ subnet | ipaddr('3') | ipaddr('address') }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement