[ansible] Add aarch64-03 to inventory
by Nicolas Chauvet
commit 7d700c6b736a8900259f9c81e6b4e84b4da50c47
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Feb 26 10:28:41 2019 +0100
Add aarch64-03 to inventory
inventory/builders | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/inventory/builders b/inventory/builders
index ee6cf47..16f06c0 100644
--- a/inventory/builders
+++ b/inventory/builders
@@ -1,6 +1,7 @@
[buildaarch64]
aarch64-01.linaro.rpmfusion.net ansible_user=fedora ansible_become=yes
aarch64-02.linaro.rpmfusion.net ansible_user=fedora ansible_become=yes
+aarch64-03.linaro.rpmfusion.net ansible_user=fedora ansible_become=yes
aarch64-jetson-tx1.home.rpmfusion.net
[buildppc]
5 years, 10 months
[ansible] remove buildpp64
by Nicolas Chauvet
commit d4df19195665802edea4611af99bc26bc1274ff5
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Feb 15 17:24:00 2019 +0100
remove buildpp64
playbooks/groups/buildhw.yml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/playbooks/groups/buildhw.yml b/playbooks/groups/buildhw.yml
index 961b48c..cedd31f 100644
--- a/playbooks/groups/buildhw.yml
+++ b/playbooks/groups/buildhw.yml
@@ -3,7 +3,7 @@
# NOTE: most of these vars_path come from group_vars/buildhw or from hostvars
- name: make koji builder(s) on raw hw
- hosts: buildhw:buildppc:buildarm:buildaarch64:buildppc64:bkernel
+ hosts: buildhw:buildppc:buildarm:buildaarch64:bkernel
remote_user: root
gather_facts: True
5 years, 10 months
[ansible] Disable ppc-02
by Nicolas Chauvet
commit e39d61176db2709e1cab4764d7e8e1ee86e8c55b
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Feb 15 17:18:39 2019 +0100
Disable ppc-02
inventory/builders | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/inventory/builders b/inventory/builders
index cc628df..7b35f6b 100644
--- a/inventory/builders
+++ b/inventory/builders
@@ -17,7 +17,7 @@ buildvm-08.virt.rpmfusion.net
[buildvm-ppc64]
buildppc-01.osuosl.rpmfusion.net ansible_user=fedora ansible_become=yes
-buildppc-02.osuosl.rpmfusion.net ansible_user=fedora ansible_become=yes
+#buildppc-02.osuosl.rpmfusion.net ansible_user=fedora ansible_become=yes
[buildvm-ppc64le]
buildppcle-01.osuosl.rpmfusion.net ansible_user=fedora ansible_become=yes
5 years, 10 months
[ansible] update main.cf default
by Nicolas Chauvet
commit eae163eec8080075689c7c4be4ac475e1a1f5301
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Feb 15 17:05:13 2019 +0100
update main.cf default
roles/base/files/postfix/main.cf/main.cf | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/roles/base/files/postfix/main.cf/main.cf b/roles/base/files/postfix/main.cf/main.cf
index c77ae28..4092834 100644
--- a/roles/base/files/postfix/main.cf/main.cf
+++ b/roles/base/files/postfix/main.cf/main.cf
@@ -1,4 +1,3 @@
-# "false"
# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
@@ -11,6 +10,8 @@
# For best results, change no more than 2-3 parameters at a time,
# and test if Postfix still works after every change.
+# Custom rules
+
# SOFT BOUNCE
#
# The soft_bounce parameter provides a limited safety net for
@@ -42,6 +43,12 @@ command_directory = /usr/sbin
#
daemon_directory = /usr/libexec/postfix
+# The data_directory parameter specifies the location of Postfix-writable
+# data files (caches, random numbers). This directory must be owned
+# by the mail_owner account (see below).
+#
+data_directory = /var/lib/postfix
+
# QUEUE AND PROCESS OWNERSHIP
#
# The mail_owner parameter specifies the owner of the Postfix queue
@@ -313,8 +320,8 @@ unknown_local_recipient_reject_code = 550
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]
-relayhost = [smtp-relay]
+relayhost = [smtp-relay]
# REJECTING UNKNOWN RELAY USERS
#
@@ -673,11 +680,14 @@ manpage_directory = /usr/share/man
# sample_directory: The location of the Postfix sample configuration files.
# This parameter is obsolete as of Postfix 2.1.
#
-sample_directory = /usr/share/doc/postfix-2.4.5/samples
+sample_directory = /usr/share/doc/postfix-2.10.1/samples
# readme_directory: The location of the Postfix README files.
#
-readme_directory = /usr/share/doc/postfix-2.4.5/README_FILES
+readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
+
+# Enable IPv4, and IPv6 if supported
+inet_protocols = ipv4
# add this to new postfix to get it to add proper message-id and other
# headers to outgoing emails via the gateway.
@@ -687,4 +697,4 @@ smtpd_relay_restrictions = permit_mynetworks,
reject_unauth_destination
message_size_limit = 20971520
-#inet_protocols = ipv4
+
5 years, 10 months
[ansible] Add mailman
by Nicolas Chauvet
commit 153b6b7ed7a25899f70128dce809bc0304c827da
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Feb 15 17:03:26 2019 +0100
Add mailman
roles/base/files/postfix/main.cf/main.cf.mailman | 24 ++++++++++++++-------
roles/base/files/postfix/main.cf/main.cf.smtp-mm | 9 ++-----
2 files changed, 19 insertions(+), 14 deletions(-)
---
diff --git a/roles/base/files/postfix/main.cf/main.cf.mailman b/roles/base/files/postfix/main.cf/main.cf.mailman
index a5c158c..f36ec30 100644
--- a/roles/base/files/postfix/main.cf/main.cf.mailman
+++ b/roles/base/files/postfix/main.cf/main.cf.mailman
@@ -42,6 +42,12 @@ command_directory = /usr/sbin
#
daemon_directory = /usr/libexec/postfix
+# The data_directory parameter specifies the location of Postfix-writable
+# data files (caches, random numbers). This directory must be owned
+# by the mail_owner account (see below).
+#
+data_directory = /var/lib/postfix
+
# QUEUE AND PROCESS OWNERSHIP
#
# The mail_owner parameter specifies the owner of the Postfix queue
@@ -70,6 +76,9 @@ mail_owner = postfix
#myhostname = host.domain.tld
#myhostname = virtual.domain.tld
+
+smtp_helo_name = $myhostname
+
# The mydomain parameter specifies the local internet domain name.
# The default is to use $myhostname minus the first component.
# $mydomain is used as a default value for many other configuration
@@ -77,6 +86,8 @@ mail_owner = postfix
#
#mydomain = domain.tld
+mydomain = rpmfusion.org
+
# SENDING MAIL
#
# The myorigin parameter specifies the domain that locally-posted
@@ -93,7 +104,6 @@ mail_owner = postfix
#myorigin = $myhostname
#myorigin = $mydomain
-mydomain = rpmfusion.org
myorigin = rpmfusion.org
# RECEIVING MAIL
@@ -315,8 +325,8 @@ unknown_local_recipient_reject_code = 550
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]
-relayhost = [192.168.181.254]
+relayhost = [192.168.181.254]
# REJECTING UNKNOWN RELAY USERS
#
@@ -675,18 +685,16 @@ manpage_directory = /usr/share/man
# sample_directory: The location of the Postfix sample configuration files.
# This parameter is obsolete as of Postfix 2.1.
#
-sample_directory = /usr/share/doc/postfix-2.4.5/samples
+sample_directory = /usr/share/doc/postfix-2.10.1/samples
# readme_directory: The location of the Postfix README files.
#
-readme_directory = /usr/share/doc/postfix-2.4.5/README_FILES
-
-# add this to new postfix to get it to add proper message-id and other
-# headers to outgoing emails via the gateway.
+readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
+# Enable IPv4, and IPv6 if supported
+inet_protocols = ipv4
message_size_limit = 20971520
-#inet_protocols = ipv4
# Mailman, see MTA.rst
diff --git a/roles/base/files/postfix/main.cf/main.cf.smtp-mm b/roles/base/files/postfix/main.cf/main.cf.smtp-mm
index adeda9a..e5db424 100644
--- a/roles/base/files/postfix/main.cf/main.cf.smtp-mm
+++ b/roles/base/files/postfix/main.cf/main.cf.smtp-mm
@@ -122,7 +122,6 @@ myorigin = rpmfusion.org
#inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
-
inet_interfaces = all
# The proxy_interfaces parameter specifies the network interface
@@ -258,7 +257,6 @@ unknown_local_recipient_reject_code = 550
#mynetworks_style = subnet
#mynetworks_style = host
-
# Alternatively, you can specify the mynetworks list by hand, in
# which case Postfix ignores the mynetworks_style setting.
#
@@ -501,8 +499,6 @@ recipient_delimiter = +
# To use the old cyrus deliver program you have to set:
#mailbox_transport = cyrus
-
-
# The fallback_transport specifies the optional transport in master.cf
# to use for recipients that are not found in the UNIX passwd database.
# This parameter has precedence over the luser_relay parameter.
@@ -685,11 +681,12 @@ manpage_directory = /usr/share/man
# sample_directory: The location of the Postfix sample configuration files.
# This parameter is obsolete as of Postfix 2.1.
#
-sample_directory = /usr/share/doc/postfix-2.5.6/samples
+sample_directory = /usr/share/doc/postfix-2.10.1/samples
# readme_directory: The location of the Postfix README files.
#
-readme_directory = /usr/share/doc/postfix-2.5.6/README_FILES
+readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
+
# Enable IPv4, and IPv6 if supported
inet_protocols = all
5 years, 10 months