[PATCH] Remove duplicate handlers for update-ca-trust
by Michael Scherer
From: Michael Scherer <misc(a)zarb.org>
Since there is a already existing update ca-trust in handlers/main.yml
doing the same thing as 'update ca trust', better use 1 single copy.
---
handlers/update_ca_trust.yml | 6 ------
tasks/osbs_certs.yml | 2 +-
2 files changed, 1 insertion(+), 7 deletions(-)
delete mode 100644 handlers/update_ca_trust.yml
diff --git a/handlers/update_ca_trust.yml b/handlers/update_ca_trust.yml
deleted file mode 100644
index e24c66a..0000000
--- a/handlers/update_ca_trust.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-########################################
-# Handlers for updating ca trust
-#
-
-- name: update ca trust
- shell: "update-ca-trust"
diff --git a/tasks/osbs_certs.yml b/tasks/osbs_certs.yml
index 58bea79..74005ee 100644
--- a/tasks/osbs_certs.yml
+++ b/tasks/osbs_certs.yml
@@ -8,4 +8,4 @@
mode: 0400
when: env == "staging"
notify:
- - update ca trust
+ - update ca-trust
--
1.8.3.1
7 years, 12 months
[PATCH] Move the unbound related handlers to the role
by Michael Scherer
From: Michael Scherer <misc(a)zarb.org>
---
handlers/restart_services.yml | 3 ---
handlers/semanage.yml | 8 --------
playbooks/groups/blockerbugs.yml | 1 -
playbooks/groups/dhcp.yml | 1 -
playbooks/groups/logserver.yml | 1 -
playbooks/groups/memcached.yml | 1 -
playbooks/groups/openstack-compute-nodes.yml | 1 -
playbooks/groups/unbound.yml | 1 -
playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml | 1 -
playbooks/hosts/data-analysis01.phx2.fedoraproject.org.yml | 1 -
roles/unbound/handlers/main.yml | 11 +++++++++++
11 files changed, 11 insertions(+), 19 deletions(-)
delete mode 100644 handlers/semanage.yml
create mode 100644 roles/unbound/handlers/main.yml
diff --git a/handlers/restart_services.yml b/handlers/restart_services.yml
index 66f8335..a2e9669 100644
--- a/handlers/restart_services.yml
+++ b/handlers/restart_services.yml
@@ -120,9 +120,6 @@
- name: restart network
action: service name=network state=restarted
-- name: restart unbound
- action: service name=unbound state=restarted
-
- name: rebuild postfix transport
command: /usr/sbin/postmap /etc/postfix/transport
diff --git a/handlers/semanage.yml b/handlers/semanage.yml
deleted file mode 100644
index bb9db3f..0000000
--- a/handlers/semanage.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-- name: semanage dns80
- command: /usr/sbin/semanage port -m -t dns_port_t -p tcp 80
-
-- name: semanage dns443
- command: /usr/sbin/semanage port -m -t dns_port_t -p tcp 443
-
-- name: semanage dns8953
- command: /usr/sbin/semanage port -a -t dns_port_t -p tcp 8953
diff --git a/playbooks/groups/blockerbugs.yml b/playbooks/groups/blockerbugs.yml
index 3916a98..27d4b16 100644
--- a/playbooks/groups/blockerbugs.yml
+++ b/playbooks/groups/blockerbugs.yml
@@ -33,4 +33,3 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
- - include: "{{ handlers }}/semanage.yml"
diff --git a/playbooks/groups/dhcp.yml b/playbooks/groups/dhcp.yml
index d0c34bb..55f2572 100644
--- a/playbooks/groups/dhcp.yml
+++ b/playbooks/groups/dhcp.yml
@@ -28,4 +28,3 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
- - include: "{{ handlers }}/semanage.yml"
diff --git a/playbooks/groups/logserver.yml b/playbooks/groups/logserver.yml
index 42cf474..c045a30 100644
--- a/playbooks/groups/logserver.yml
+++ b/playbooks/groups/logserver.yml
@@ -38,7 +38,6 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
- - include: "{{ handlers }}/semanage.yml"
- name: Cloud Image stats
hosts: log01.phx2.fedoraproject.org
diff --git a/playbooks/groups/memcached.yml b/playbooks/groups/memcached.yml
index b9593d5..0e0fea2 100644
--- a/playbooks/groups/memcached.yml
+++ b/playbooks/groups/memcached.yml
@@ -28,4 +28,3 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
- - include: "{{ handlers }}/semanage.yml"
diff --git a/playbooks/groups/openstack-compute-nodes.yml b/playbooks/groups/openstack-compute-nodes.yml
index fee6967..af154f6 100644
--- a/playbooks/groups/openstack-compute-nodes.yml
+++ b/playbooks/groups/openstack-compute-nodes.yml
@@ -27,4 +27,3 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
- - include: "{{ handlers }}/semanage.yml"
diff --git a/playbooks/groups/unbound.yml b/playbooks/groups/unbound.yml
index 6e8c628..068c416 100644
--- a/playbooks/groups/unbound.yml
+++ b/playbooks/groups/unbound.yml
@@ -29,4 +29,3 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
- - include: "{{ handlers }}/semanage.yml"
diff --git a/playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml b/playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml
index aa824a2..73fe45c 100644
--- a/playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml
+++ b/playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml
@@ -28,5 +28,4 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
- - include: "{{ handlers }}/semanage.yml"
diff --git a/playbooks/hosts/data-analysis01.phx2.fedoraproject.org.yml b/playbooks/hosts/data-analysis01.phx2.fedoraproject.org.yml
index 0d0a6d1..102b0cc 100644
--- a/playbooks/hosts/data-analysis01.phx2.fedoraproject.org.yml
+++ b/playbooks/hosts/data-analysis01.phx2.fedoraproject.org.yml
@@ -29,7 +29,6 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
- - include: "{{ handlers }}/semanage.yml"
- name: dole out the service-specific config
hosts: data-analysis01.phx2.fedoraproject.org
diff --git a/roles/unbound/handlers/main.yml b/roles/unbound/handlers/main.yml
new file mode 100644
index 0000000..e437eeb
--- /dev/null
+++ b/roles/unbound/handlers/main.yml
@@ -0,0 +1,11 @@
+- name: restart unbound
+ action: service name=unbound state=restarted
+
+- name: semanage dns80
+ command: /usr/sbin/semanage port -m -t dns_port_t -p tcp 80
+
+- name: semanage dns443
+ command: /usr/sbin/semanage port -m -t dns_port_t -p tcp 443
+
+- name: semanage dns8953
+ command: /usr/sbin/semanage port -a -t dns_port_t -p tcp 8953
--
1.8.3.1
7 years, 12 months
April status update for Fedora Infrastructure Apprentices
by Kevin Fenzi
You are getting this email because you are in the 'fi-apprentice' group
in the fedora account system (or are reading this on the
infrastructure list).
Feel free to reply just directly to me, or cc the infrastructure list
for everyone to see and comment on.
https://fedoraproject.org/wiki/Infrastructure_Apprentice
At the first of every month(or so), I am going to be sending out an
email like this one. I would like feedback on how things are going for
you.
I'd like to ask for everyone to send me a quick reply with the
following data or anything related you can think of that might help us
make the apprentice program more useful.
0. Whats your fedora account system login?
1. Have you logged in and used your fi-apprentice membership to look at
our machines/setup in the last month? Do you plan to?
2. Has it helped you decide any area you wish to focus on or contribute
to more?
3. Have you looked at or been able to work on any of the fi-apprentice
'easyfix' tickets?
https://fedorahosted.org/fedora-infrastructure/report/14
4. Do you still wish to be a member of the group? If not (for whatever
reason) could you provide any hints to help others down the road?
5. Is there any help or communication or ideas you have that would help
you do any of the above?
6. What do you find to be the hardest part of getting involved?
Finding things to work on? Getting attention from others to help you?
Finding tickets in your interest area?
7. Have you been able to make any weekly irc meetings? Do you find them
helpful or interesting?
8. Have you logged into our Gobby instance and read/seen/added to our
meeting agenda? https://fedoraproject.org/wiki/Gobby
9. What was the last song you listened to? (Live or recorded)
Any other general feedback is also quite welcome, including
improvements to this email, the wiki page, etc.
Any folks I do not hear from in the next week will be removed from the
group. (Note that it's easy to be readded when you have time or
whatever and it's nothing at all personal, we just want to keep the
group up to date with active folks).
Thanks, and looking forward to your feedback!
kevin
7 years, 12 months
Meeting Agenda Item: Introduction Luigi Sainini
by lousab
Hi all,
my name is Luigi Sainini aka lousab and i come from Italy (Genoa).
- my IRC nick is lousab
- my skills are:
.coding
basic bash/python scripting
read many language and their relative logs
SQL
.sysadmin skills
network, nagios, virtualization, database, kickstart, install and
mantaining servers
.associations
i'm a local LUG's member and i'm starting a new project with friends for
introducing gnu/linux in schools
- i'm joining this group because i'd like to learn, give, contribute
about skills actually i have and learn new technologies. I'm actually
observing how the group works and understanding the infrastructure
services. I'm quite new in Fedora because i'm using it from six month
and before i've used always Debian (from 2008)
- i'd like to start working around kickstart, ansible, nagios growing
step by step towards new technologies
Actually i'd like t start giving 4 hours at week hoping to increase my time.
7 years, 12 months
Meeting Agenda Item: Introduction Ganesh Kadam
by Ganesh Kadam
"Hello World!"
1. Your IRC handle : gkadam
2. Skills you have : Basic knowledge about - Linux Administration,Nagios-Core, Python and Bash Scripting
3. Skills you want to learn : System Administration skills,Networking,Configuration Management with Ansible, Programming
4. What you wanna learn, any initial questions you have : I want to learn System Administration skills and also would like to document systems in fedora infra if required. I would like to learn how fedora-infra works internally.What else do i need to contribute in #fedora-infra?
7 years, 12 months