ansible-debops-infrastructure

DebOps and Ansible scripts to manage my infrastructure
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

ferm.yml (429B)


      1 ---
      2 
      3 ferm__enabled: True
      4 ferm__filter_icmp: False
      5 ferm__filter_syn: False
      6 ferm__filter_recent: False
      7 
      8 ferm__rules:
      9   - name: 'node_exporter'
     10     type: 'accept'
     11     filename: 'node_exporter'
     12     table: 'filter'
     13     chain: 'INPUT'
     14     dport: [ 9100 ]
     15     saddr: "{% if hostvars['prometheus_host'] is defined %} {{ hostvars['prometheus_host'].ansible_host }} {% else %} '127.0.0.1' {% endif %}"
     16     protocol: 'tcp'
     17     domain: 'ip'