Changeset 3657


Ignore:
Timestamp:
Apr 28, 2017, 12:00:07 AM (2 months ago)
Author:
bruno
Message:

Adds system role and fix many other ones

Location:
branches/3.3/ansible
Files:
18 added
2 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/ansible/group_vars/all

    r3656 r3657  
    11---
    22domain: mondorescue.org
     3host: mondorescue.hpintelco.org
    34dns1: 10.11.0.13
    45dns2: 10.11.0.14
    56ip_ext: 185.170.48.239
    67ip_int: 10.11.7.195
    7 smtp: mail.hpintelco.org
     8netmask_int: 255.255.255.192
     9gw: 10.11.7.193
     10smtp: 10.11.3.13
     11hyperlinux: 82.236.159.40
     12#  "{{ lookup('dig', 'www.hyper-linux.org') }}"
     13sshkey:
     14  "{{ lookup('file', '/users/bruno/.ssh/id_dsa.pub') }}"
  • branches/3.3/ansible/inventory

    r3656 r3657  
    88[smtp]
    99# Default conf for smtp is to be a client
     10www.mondorescue.org
     11
     12[sympa]
    1013www.mondorescue.org
    1114
     
    3336[urpmi]
    3437www.mondorescue.org
     38
     39[system]
     40www.mondorescue.org
  • branches/3.3/ansible/inventory.int

    r3656 r3657  
    88[smtp]
    99# Default conf for smtp is to be a client
     10mondo.hpintelco.org
     11
     12[sympa]
    1013mondo.hpintelco.org
    1114
     
    2023
    2124[trac]
    22 www.mondorescue.org
     25mondo.hpintelco.org
    2326
    2427[svn]
     
    3336[urpmi]
    3437mondo.hpintelco.org
     38
     39[system]
     40mondo.hpintelco.org
  • branches/3.3/ansible/roles/rsync/tasks/main.yml

    r3656 r3657  
    66
    77- name: Configure rsync
    8   copy: src=files/rsyncd.conf dest=/etc/rsyncd.conf owner=root group=root mode=0600 backup=yes
     8  copy: src=templates/rsyncd.conf dest=/etc/rsyncd.conf owner=root group=root mode=0600 backup=yes
    99  notify:
    1010    - restart rsync
  • branches/3.3/ansible/roles/shorewall/defaults/main.yml

    r3656 r3657  
    5757  - { action: ACCEPT, source: fw, destination: net, protocol: tcp, destination_port: 80 }
    5858  - { action: ACCEPT, source: fw, destination: net, protocol: tcp, destination_port: 443}
     59  # Outgoing SPAM
     60  - { action: ACCEPT, source: fw, destination: net, protocol: tcp, destination_port: 9999 }
     61  # Outgoing SMTP
     62- { action: ACCEPT, source: fw, destination: net:{{ smtp }}, protocol: tcp, destination_port: 25 }
     63  # Outgoing PING
     64  - { action: ACCEPT, source: fw, destination: net, protocol: icmp, destination_port: 8 }
  • branches/3.3/ansible/roles/smtp/files/client/aliases

    r3655 r3657  
    9090# The mapping to the postfix user is to ensure that root's mail
    9191# doesn't get lost on a system installed out of the box.
     92# For Trac/mail integration
     93#trac: |"/usr/local/bin/run_email2trac
     94bruno: bruno@hyper-linux.org
     95bruno.cornec: bruno@hyper-linux.org
     96bc: bruno.cornec@hpe.com
     97andree: aleidenf@bigpond.net.au
     98andree.leidenfrost: aleidenf@bigpond.net.au
     99hugo: hugorabson@sbcglobal.net
     100hugo.rabson: hugorabson@sbcglobal.net
  • branches/3.3/ansible/roles/trac/templates/trac.ini

    r3656 r3657  
    1313user_lock_max_time = 0
    1414verify_email = true
    15 #register_check = EmailCheck
     15register_check = EmailCheck,RegistrationFilterAdapter
    1616
    1717[attachment]
  • branches/3.3/ansible/roles/urpmi/tasks/main.yml

    r3655 r3657  
    22
    33- name: Check that urpmi is configured correctly
    4   copy: src=files/addmedia dest=/usr/local/bin/addmedia owner=root group=root mode=0755 backup=yes
     4  copy: src=files/{{ item }} dest=/usr/local/bin/{{ item }} owner=root group=root mode=0755 backup=yes
     5  with_items:
     6    - addmedia
     7    - upd
    58  notify:
    69    - restart urpmi
  • branches/3.3/ansible/site.yml

    r3656 r3657  
    11---
     2- include: system.yml
    23- include: resolvconf.yml
    34- include: urpmi.yml
Note: See TracChangeset for help on using the changeset viewer.