Changeset 3656 in MondoRescue
- Timestamp:
- Apr 26, 2017, 3:10:58 AM (8 years ago)
- Location:
- branches/3.3/ansible
- Files:
-
- 35 added
- 2 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/ansible/group_vars/all
r3655 r3656 5 5 ip_ext: 185.170.48.239 6 6 ip_int: 10.11.7.195 7 smtp: mail.hpintelco.org -
branches/3.3/ansible/httpd.yml
r3655 r3656 3 3 roles: 4 4 - httpd 5 handlers: 6 - include: handlers/main.yml -
branches/3.3/ansible/inventory
r3655 r3656 16 16 www.mondorescue.org 17 17 18 [trac] 19 www.mondorescue.org 20 18 21 [svn] 22 www.mondorescue.org 23 24 [git] 25 www.mondorescue.org 26 27 [rsync] 19 28 www.mondorescue.org 20 29 -
branches/3.3/ansible/inventory.int
r3655 r3656 19 19 mondo.hpintelco.org 20 20 21 [trac] 22 www.mondorescue.org 23 21 24 [svn] 25 mondo.hpintelco.org 26 27 [git] 28 mondo.hpintelco.org 29 30 [rsync] 22 31 mondo.hpintelco.org 23 32 -
branches/3.3/ansible/roles/httpd/templates/dploy.org.conf
r3655 r3656 36 36 </Directory> 37 37 38 Alias /trac/ "/usr/share/trac/htdocs/"39 <Location "/cgi-bin/trac.cgi">40 SetEnv TRAC_ENV "/mondo/dploy/trac/dploy.env"41 </Location>42 43 38 # You need something like this to authenticate users 44 39 <Location "/cgi-bin/trac.cgi/login"> … … 52 47 <VirtualHost {{ ip_int }}> 53 48 ServerName trac.dploy.org 54 SetEnv TRAC_ENV "/mondo/dploy/trac/dploy.env"49 DefaultInitEnv TRAC_ENV "/mondo/dploy/trac/dploy.env" 55 50 DocumentRoot /mondo/dploy/www/cgi-bin/trac.cgi 56 51 ServerAdmin webmaster@dploy.org -
branches/3.3/ansible/roles/httpd/templates/mondorescue.org.conf
r3655 r3656 46 46 ServerName trac.mondorescue.org 47 47 DocumentRoot /prj/www/html/mondorescue 48 DefaultInitEnv TRAC_ENV "/prj/trac/mondorescue.env" 48 49 ServerAdmin webmaster@mondorescue.org 49 50 CustomLog /var/log/httpd/www.mondorescue.org/access_log combined … … 56 57 </Directory> 57 58 58 <Location "/">59 SetEnv TRAC_ENV "/prj/trac/mondorescue.env"60 </Location>61 59 62 60 ScriptAlias / "/var/www/cgi-bin/trac.fcgi/" -
branches/3.3/ansible/roles/httpd/templates/project-builder.org.conf
r3655 r3656 43 43 ServerName trac.project-builder.org 44 44 DocumentRoot /prj/www/html/project-builder 45 DefaultInitEnv TRAC_ENV "/prj/trac/project-builder.env" 45 46 ServerAdmin webmaster@project-builder.org 46 47 CustomLog /var/log/httpd/www.project-builder.org/access_log combined … … 52 53 Require all granted 53 54 </Directory> 54 55 <Location "/">56 SetEnv TRAC_ENV "/prj/trac/project-builder.env"57 </Location>58 55 59 56 ScriptAlias / "/var/www/cgi-bin/trac.fcgi/" -
branches/3.3/ansible/roles/shorewall/defaults/main.yml
r3655 r3656 34 34 # Incoming HTTP 35 35 - { action: ACCEPT, source: net, destination: fw, protocol: tcp, destination_port: 80 } 36 # Incoming RSYNC 37 - { action: ACCEPT, source: net, destination: fw, protocol: tcp, destination_port: 873 } 36 38 # Incoming SVN 37 39 - { action: ACCEPT, source: net, destination: fw, protocol: tcp, destination_port: 3690 } … … 44 46 # Incoming PING 45 47 - { action: ACCEPT, source: net, destination: fw, protocol: icmp, destination_port: 8 } 48 # Outgoing NTP 49 - { action: ACCEPT, source: fw, destination: net, protocol: tcp, destination_port: 123 } 50 - { action: ACCEPT, source: fw, destination: net, protocol: udp, destination_port: 123 } 46 51 # Outgoing DNS 47 52 - { action: ACCEPT, source: fw, destination: "net:{{ dns1 }}", protocol: udp, destination_port: 53 } … … 49 54 - { action: ACCEPT, source: fw, destination: "net:{{ dns1 }}", protocol: tcp, destination_port: 53 } 50 55 - { action: ACCEPT, source: fw, destination: "net:{{ dns2 }}", protocol: tcp, destination_port: 53 } 51 # Outgoing HTTP 56 # Outgoing HTTP/S 52 57 - { action: ACCEPT, source: fw, destination: net, protocol: tcp, destination_port: 80 } 58 - { action: ACCEPT, source: fw, destination: net, protocol: tcp, destination_port: 443} -
branches/3.3/ansible/roles/smtp/tasks/main.yml
r3655 r3656 4 4 urpmi: name=postfix state=installed no-recommends=yes 5 5 tags: smtp 6 7 - name: DEBUG vars8 debug: var=hostvars[inventory_hostname] #verbosity=29 #debug: var=vars #verbosity=210 #debug: var=smtp_role11 #debug: var=smtp_server_ext12 6 13 7 - name: Copy postfix data files -
branches/3.3/ansible/roles/smtp/templates/main.cf.j2
r3655 r3656 27 27 # 28 28 mynetworks = 127.0.0.0/8, {{ ip_ext}}/32, {{ ip_int }}/26 29 relayhost = {{ smtp }} 29 30 mynetworks_style = host 30 31 mydestination = $myhostname, localhost.$mydomain, localhost, svn.mondorescue.org, www.mondorescue.org, ftp.mondorescue.org, mondorescue.org, trac.mondorescue.org, svn.project-builder.org, www.project-builder.org, ftp.project-builder.org, project-builder.org, trac.project-builder.org, svn.dploy.org, www.dploy.org, ftp.dploy.org, dploy.org, trac.dploy.org 31 relayhost = mail.hpintelco.org32 32 transport_maps = hash:/etc/postfix/transport 33 33 #smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination -
branches/3.3/ansible/site.yml
r3655 r3656 4 4 - include: ntp.yml 5 5 - include: smtp.yml 6 - include: httpd.yml6 - include: trac.yml 7 7 - include: vsftpd.yml 8 8 - include: svn.yml 9 - include: git.yml 10 - include: rsync.yml
Note:
See TracChangeset
for help on using the changeset viewer.