Skip to content

Instantly share code, notes, and snippets.

@hryamzik
hryamzik / ansible-ip-list-play.yml
Created March 25, 2016 11:50 — forked from iAugur/ansible-ip-list-play.yml
Ansible: Example of working with lists of host vars
---
- hosts: servers
gather_facts: true
sudo: true
vars:
fail2ban_config_ignoreip:
- "127.0.0.1/8"
- "{{ ansible_ssh_host }}"