Skip to content
Snippets Groups Projects
Commit c9f1bb98 authored by Lars Beckers's avatar Lars Beckers
Browse files

split common role

parent 44e9f76d
No related branches found
No related tags found
No related merge requests found
Showing
with 26 additions and 46 deletions
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
Fachschaft Mathematik/Physik/Informatik, RWTH Aachen
Access to this machine is for authorized personnel only.
#########################################################################
# RWTH Aachen University -- Fachschaft Mathematik/Physik/Informatik #
#########################################################################
# #
# If you have any problems send an eMail to #
# #
# admin@fsmpi.rwth-aachen.de #
# #
#########################################################################
[user]
name = FSMPI Admin-Team
email = admin@fsmpi.rwth-aachen.de
[push]
default = simple
[alias]
co = checkout
s = status
---
# file: roles/common/tasks/main.yml
- include: filesystem.yml
- meta: flush_handlers
- include: locale.yml
- meta: flush_handlers
- include: repositories.yml
- meta: flush_handlers
- include: dns.yml
- meta: flush_handlers
- include: tls.yml
- meta: flush_handlers
- include: sshd.yml
- meta: flush_handlers
- include: sudo.yml
- meta: flush_handlers
- include: logging.yml
- meta: flush_handlers
- include: ntpd.yml
- meta: flush_handlers
- include: shell.yml
- meta: flush_handlers
- include: software.yml
- meta: flush_handlers
- include: sysctl.yml
- meta: flush_handlers
File moved
File moved
---
# file: roles/common/handlers/main.yml
- name: restart ntpd
service: name=ntp state=restarted
- name: restart sshd
service: name=ssh state=restarted
- name: restart lldpd
service: name=lldpd state=restarted
- name: restart rsyslogd
service: name=rsyslog state=restarted
- name: rerun depmod
command: depmod -ae
- name: update initramfs
command: update-initramfs -u
- name: update timezone
command: dpkg-reconfigure --frontend noninteractive tzdata
- name: regenerate pam config
shell: DEBIAN_FRONTEND=noninteractive pam-auth-update --force
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment