hosts.yaml 3.48 KB
Newer Older
klafyvel's avatar
klafyvel committed
1 2 3 4
all:
  vars:
    dns_server: 10.7.0.127
    gateway: 10.7.0.254
5
    re2o_address: re2o.rezometz.org
Hugo LEVY-FALK's avatar
Hugo LEVY-FALK committed
6
    service_user: service-daemon
Hugo LEVY-FALK's avatar
Hugo LEVY-FALK committed
7 8 9 10 11 12
    ntp_server: 193.48.224.215
    www_server:
      - 193.48.225.242
      - 193.48.225.247
    irc_server: 193.48.225.244
    smtp_server: 193.48.225.249
klafyvel's avatar
klafyvel committed
13
  children:
klafyvel's avatar
klafyvel committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27
    re2o-dev:
      hosts:
        10.7.0.13:
    radius:
      vars:
        mysql_master_host: 10.7.0.243
        master_user: repl
      hosts:
        10.7.0.57:
          mysql_bind_address: 10.7.0.57
          mysql_server_id: 3
        10.7.0.54:
          mysql_bind_address: 10.7.0.54
          mysql_server_id: 2
28 29 30 31
    dns:
      hosts:
        10.7.0.127:
        10.7.0.128:
Hugo LEVY-FALK's avatar
Hugo LEVY-FALK committed
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
    dhcp:
      vars:
        lists:
          - dhcp.rez
          - dhcp.rezometz.org
        federez:
          interface: eth2
          routers: 10.20.254.254
          dns: 80.67.188.188
          subnet: 10.20.0.0
          subnet_mask: 255.255.0.0
          broadcast: 10.20.255.255
          pool_begin: 10.20.1.1
          pool_end: 10.20.253.254
        subnets:
          - name: adherents
            interface: eth3
            subnet: 10.69.0.0
            netmask: 255.255.240.0
            broadcast: 10.69.15.255
            routers: 10.69.9.254
            dns:
              - 10.69.9.127
              - 10.69.9.128
            domain_name: rez
          - name: bornes
            interface: eth1
            subnet: 10.8.0.0
            netmask: 255.255.0.0
            broadcast: 10.8.255.255
            dns:
              - 10.8.0.127
              - 10.8.0.128
            domain_name: rez
      hosts:
        10.7.0.127:
          address: 10.7.0.127
          peer_address: 10.7.0.128
Hugo LEVY-FALK's avatar
Hugo LEVY-FALK committed
70
          primary: true
Hugo LEVY-FALK's avatar
Hugo LEVY-FALK committed
71 72 73
        10.7.0.128:
          address: 10.7.0.128
          peer_address: 10.7.0.127
Hugo LEVY-FALK's avatar
Hugo LEVY-FALK committed
74
          primary: false
klafyvel's avatar
klafyvel committed
75
    gateways:
76
      vars:
77 78 79
        re2o_address: hydra.rez
        keepalived_interface: eno2
        keepalived_virtual_router_id: 51
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
        sysctl_config:
          - name: net.ipv4.ip_forward
            value: 1
          - name: net.ipv4.tcp_syncookies
            value: 1
          - name: net.ipv4.conf.all.rp_filter
            value: 1
          - name: net.ipv4.conf.default.rp_filter
            value: 1
          - name: net.ipv4.conf.all.accept_source_route
            value: 0
          - name: net.ipv4.neigh.default.gc_thresh1
            value: 1024
          - name: net.ipv4.neigh.default.gc_thresh2
            value: 4096
          - name: net.ipv4.neigh.default.gc_thresh3
            value: 8192
klafyvel's avatar
klafyvel committed
97
      hosts:
Hugo LEVY-FALK's avatar
Hugo LEVY-FALK committed
98
        10.7.0.57:
99
          router_network_address: 10.3.0.57/24
klafyvel's avatar
klafyvel committed
100
          vlan_7_address: 10.7.0.57/16
101
          vlan_2_address: 192.168.2.3/24
Hugo LEVY-FALK's avatar
Hugo LEVY-FALK committed
102
          vlan_13_address: 193.48.225.3/24
klafyvel's avatar
klafyvel committed
103
          vlan_20_address: 10.20.254.57/16
klafyvel's avatar
klafyvel committed
104 105
          vlan_66_address: 10.66.0.57/24
          vlan_68_address: 10.68.254.57/16
106 107
          vlan_69_address: 10.69.3.57/20
          keepalived_state: BACKUP
Hugo LEVY-FALK's avatar
Hugo LEVY-FALK committed
108
          keepalived_priority: 100
Hugo LEVY-FALK's avatar
Hugo LEVY-FALK committed
109
        10.7.0.54:
110
          router_network_address: 10.3.0.54/24
klafyvel's avatar
klafyvel committed
111
          vlan_7_address: 10.7.0.54/16
112
          vlan_2_address: 192.168.2.2/24
Hugo LEVY-FALK's avatar
Hugo LEVY-FALK committed
113
          vlan_13_address: 193.48.225.2/24
klafyvel's avatar
klafyvel committed
114
          vlan_20_address: 10.20.254.54/16
klafyvel's avatar
klafyvel committed
115 116
          vlan_66_address: 10.66.0.54/24
          vlan_68_address: 10.68.254.54/16
117 118 119
          vlan_69_address: 10.69.3.54/20
          keepalived_state: MASTER
          keepalived_priority: 150
klafyvel's avatar
klafyvel committed
120 121
    ldap_servers:
      hosts:
122 123 124 125 126
        janus.rez:
    matrix:
      hosts:
        belisama.rezometz.org:
          server_name: rezometz.org