[ansible] Add tftpsync for bodhi-backend
by Nicolas Chauvet
commit 6c8e7f79336c4a6f4406bc66505bdfa84a987d76
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Dec 7 09:43:06 2016 +0100
Add tftpsync for bodhi-backend
files/aliases.template | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/files/aliases.template b/files/aliases.template
index 9efd22b..cfd2b1c 100644
--- a/files/aliases.template
+++ b/files/aliases.template
@@ -104,6 +104,7 @@ noreply(a)rpmfusion.org nobody
buildsys(a)rpmfusion.org root(a)rpmfusion.net
accounts(a)rpmfusion.org root(a)rpmfusion.net
cvsadmin(a)rpmfusion.org rpmfusion-cvsadmin(a)lists.rpmfusion.org
+ftpsync(a)rpmfusion.org kwizart
sysadmin(a)rpmfusion.org root(a)rpmfusion.net
rpmfusion-package-review(a)rpmfusion.org rpmfusion-developers(a)lists.rpmfusion.org
8 years, 1 month
[ansible] Add download0 playbook
by Nicolas Chauvet
commit 93a60b838cc976b6fae8ad14265035e8bfd0f1c2
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 6 16:32:01 2016 +0100
Add download0 playbook
roles/distgit/tasks/main.yml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml
index 8deaec9..31d2376 100644
--- a/roles/distgit/tasks/main.yml
+++ b/roles/distgit/tasks/main.yml
@@ -247,6 +247,13 @@
notify:
- reload httpd
+# -- Download0 failback primary mirror---------------------
+- name: install the Download0 httpd configs
+ copy: src={{item}} dest=/etc/httpd/conf.d/download0.rpmfusion.org/{{item}}
+ with_items:
+ - download0.conf
+ notify:
+ - reload httpd
# -- Lookaside Cache -------------------------------------
# This is the annex to Dist Git, where we host source tarballs.
8 years, 1 month
[ansible] Add download0.conf for apache
by Nicolas Chauvet
commit 1e55ce752789ee31576d513ef0efb512c09b0594
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 6 16:29:59 2016 +0100
Add download0.conf for apache
roles/distgit/files/download0.conf | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/roles/distgit/files/download0.conf b/roles/distgit/files/download0.conf
new file mode 100644
index 0000000..9c7d8a6
--- /dev/null
+++ b/roles/distgit/files/download0.conf
@@ -0,0 +1,14 @@
+# download0.rpmfusion.org
+DocumentRoot /pub
+
+# Override welcomed.conf
+<LocationMatch "^/+$">
+ Options +Indexes
+</LocationMatch>
+
+<Directory /pub>
+ Options Indexes FollowSymLinks
+ AllowOverride None
+ Require all granted
+</Directory>
+
8 years, 1 month
[ansible] Add pg_hba acl for mailman
by Nicolas Chauvet
commit 82e6d0f620266bb5c4fe1cb860c39def5ed1af73
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 6 12:02:44 2016 +0100
Add pg_hba acl for mailman
roles/postgresql_server/files/pg_hba.conf | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/roles/postgresql_server/files/pg_hba.conf b/roles/postgresql_server/files/pg_hba.conf
index 34bfab4..76d39e9 100644
--- a/roles/postgresql_server/files/pg_hba.conf
+++ b/roles/postgresql_server/files/pg_hba.conf
@@ -75,6 +75,9 @@ host bugs bugs 192.168.181.157 255.255.255.255 md5
host koji koji 192.168.181.135 255.255.255.255 md5
host bodhi2 bodhi2 192.168.181.141 255.255.255.255 md5
host fas2 fas 192.168.181.172 255.255.255.255 md5
+host hyperkitty hyperkittyadmin 192.168.181.1 255.255.255.255 md5
+host hyperkitty hyperkittyapp 192.168.181.1 255.255.255.255 md5
+host mailman mailmanadmin 192.168.181.1 255.255.255.255 md5
host pkgdb2 pkgdb2 192.168.181.138 255.255.255.255 md5
host pkgdb2 pkgdb2_user 192.168.181.138 255.255.255.255 md5
host all ipsilon 192.168.181.160 255.255.255.0 md5
8 years, 1 month
[ansible] Drop se01 from dns group
by Nicolas Chauvet
commit 7ae365bc433ec2209f401b2734c6d54a65b811b5
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 6 11:49:28 2016 +0100
Drop se01 from dns group
inventory/inventory | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/inventory/inventory b/inventory/inventory
index a589960..86daaa4 100644
--- a/inventory/inventory
+++ b/inventory/inventory
@@ -15,7 +15,6 @@ db02.online.rpmfusion.net
[dns]
hv01.online.rpmfusion.net
-se01.online.rpmfusion.net
[fas]
fas01.online.rpmfusion.net
8 years, 1 month
[ansible] Move RedHat repos to default
by Nicolas Chauvet
commit 4eaf3912d914993fb05e9f679bd61fbd1f055b27
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 6 10:23:28 2016 +0100
Move RedHat repos to default
.../{hyperkitty.RedHat.repo => hyperkitty.repo} | 0
...gin.RedHat.repo => mailman3-fedmsg-plugin.repo} | 0
2 files changed, 0 insertions(+), 0 deletions(-)
---
diff --git a/roles/mailman/files/hyperkitty.RedHat.repo b/roles/mailman/files/hyperkitty.repo
similarity index 100%
rename from roles/mailman/files/hyperkitty.RedHat.repo
rename to roles/mailman/files/hyperkitty.repo
diff --git a/roles/mailman/files/mailman3-fedmsg-plugin.RedHat.repo b/roles/mailman/files/mailman3-fedmsg-plugin.repo
similarity index 100%
rename from roles/mailman/files/mailman3-fedmsg-plugin.RedHat.repo
rename to roles/mailman/files/mailman3-fedmsg-plugin.repo
8 years, 1 month
[ansible] Add nfs acl for koji01
by Nicolas Chauvet
commit 4f5add0ddc8ba3df8415328c9b068138fcc469dc
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 6 08:16:48 2016 +0100
Add nfs acl for koji01
.../server/files/hv01.online.rpmfusion.net-exports | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/roles/nfs/server/files/hv01.online.rpmfusion.net-exports b/roles/nfs/server/files/hv01.online.rpmfusion.net-exports
index 5010583..daf70ae 100644
--- a/roles/nfs/server/files/hv01.online.rpmfusion.net-exports
+++ b/roles/nfs/server/files/hv01.online.rpmfusion.net-exports
@@ -1,3 +1,3 @@
/srv/nfs/rpmfusion_ftp/download0.rpmfusion.org/pub 192.168.181.137/32(rw)
/srv/nfs/rpmfusion_sourcecache 192.168.181.137/32(rw)
-/srv/nfs/rpmfusion_koji 192.168.181.137/32(rw) 192.168.181.0/24(ro) 192.168.182.0/24(ro)
+/srv/nfs/rpmfusion_koji 192.168.181.135/32(rw) 192.168.181.137/32(rw) 192.168.181.0/24(ro) 192.168.182.0/24(ro)
8 years, 1 month
[ansible] Report mx1 postfix main.cf config
by Nicolas Chauvet
commit 6f73462d43350c293f4ebdd38e9037fe5f3af29a
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Dec 5 22:21:49 2016 +0100
Report mx1 postfix main.cf config
.../main.cf/main.cf.hv01.online.rpmfusion.net | 22 ++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/roles/base/files/postfix/main.cf/main.cf.hv01.online.rpmfusion.net b/roles/base/files/postfix/main.cf/main.cf.hv01.online.rpmfusion.net
index d71f8fb..7884377 100644
--- a/roles/base/files/postfix/main.cf/main.cf.hv01.online.rpmfusion.net
+++ b/roles/base/files/postfix/main.cf/main.cf.hv01.online.rpmfusion.net
@@ -686,3 +686,25 @@ readme_directory = /usr/share/doc/postfix-2.4.5/README_FILES
message_size_limit = 20971520
#inet_protocols = ipv4
+
+virtual_alias_domains =
+ rpmfusion.net,
+ rpmfusion.org,
+# lists.rpmfusion.org,
+
+virtual_alias_maps =
+ hash:/etc/postfix/virtual,
+# regexp:/etc/postfix/virtual-regexp,
+
+# SMTP restrictions (block bogus stuff)
+smtpd_sender_restrictions =
+ permit_mynetworks,
+ reject_unknown_sender_domain,
+
+smtpd_recipient_restrictions =
+ permit_mynetworks,
+ reject_unauth_destination,
+# check_policy_service unix:postgrey/socket,
+
+body_checks = regexp:/etc/postfix/body_checks
+
8 years, 1 month