1379 lines
22 KiB
YAML
1379 lines
22 KiB
YAML
---
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/basic.yml
|
|
# ==========
|
|
|
|
time_zone: Europe/Berlin
|
|
|
|
locales:
|
|
- en_US.UTF-8
|
|
- de_DE.UTF-8
|
|
|
|
set_default_limit_nofile: false
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/sshd.yml
|
|
# ==========
|
|
|
|
sshd_ports:
|
|
- 22
|
|
|
|
sshd_listen_address:
|
|
- '::'
|
|
- '0.0.0.0'
|
|
|
|
sshd_host_keys:
|
|
- /etc/ssh/ssh_host_rsa_key
|
|
- /etc/ssh/ssh_host_ecdsa_key
|
|
- /etc/ssh/ssh_host_ed25519_key
|
|
|
|
sshd_max_startups: !!str "10:30:100"
|
|
|
|
sshd_max_auth_tries: 3
|
|
|
|
sshd_max_sessions: 10
|
|
|
|
sshd_permit_root_login: !!str "prohibit-password"
|
|
|
|
sshd_authorized_keys_file: ".ssh/authorized_keys .ssh/authorized_keys2"
|
|
|
|
sshd_pubkey_authentication: !!str "yes"
|
|
|
|
sshd_password_authentication: !!str "no"
|
|
|
|
sshd_use_pam: !!str "yes"
|
|
|
|
sshd_print_motd: !!str "no"
|
|
|
|
# sshd_kexalgorithms
|
|
#
|
|
# Example:
|
|
# sshd_kexalgorithms:
|
|
# - curve25519-sha256@libssh.org
|
|
# - diffie-hellman-group-exchange-sha256
|
|
# - diffie-hellman-group14-sha1
|
|
#
|
|
sshd_kexalgorithms: {}
|
|
|
|
# sshd_kexalgorithms
|
|
#
|
|
# Example:
|
|
# sshd_ciphers:
|
|
# - chacha20-poly1305@openssh.com
|
|
# - aes256-gcm@openssh.com
|
|
# - aes256-ctr
|
|
sshd_ciphers: {}
|
|
|
|
sshd_use_dns: !!str "no"
|
|
|
|
sshd_allowed_users: {}
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/apt.yml
|
|
# ==========
|
|
|
|
apt_manage_sources_list: true
|
|
|
|
apt_src_enable: false
|
|
apt_backports_enable: true
|
|
|
|
apt_debian_mirror: http://ftp.de.debian.org/debian/
|
|
apt_debian_contrib_nonfree_enable: true
|
|
|
|
# Ubuntu mirror
|
|
apt_ubuntu_mirror: http://archive.ubuntu.com/ubuntu
|
|
|
|
apt_update_cache_valid_time: 3600
|
|
|
|
apt_upgrade: true
|
|
apt_update: true
|
|
|
|
apt_clean: true
|
|
apt_autoremove: true
|
|
|
|
apt_dpkg_configure: true
|
|
apt_upgrade_type: dist
|
|
|
|
apt_upgrade_dpkg_options:
|
|
- force-confdef
|
|
- force-confold
|
|
|
|
apt_initial_install_stretch:
|
|
- apt-transport-https
|
|
- dbus
|
|
- openssh-server
|
|
- rssh
|
|
- vim
|
|
- vim-common
|
|
- vim-doc
|
|
- mc
|
|
- screen
|
|
- tmux
|
|
- bc
|
|
- figlet
|
|
- rcconf
|
|
- sudo
|
|
- rsync
|
|
- dselect
|
|
- iputils-ping
|
|
- apt-utils
|
|
- aptitude
|
|
- zip
|
|
- unzip
|
|
- bzip2
|
|
- arj
|
|
- locate
|
|
- curl
|
|
- gawk
|
|
- mawk
|
|
- lynx
|
|
- links
|
|
- w3m
|
|
- exuberant-ctags
|
|
- mime-support
|
|
- file
|
|
- coreutils
|
|
- moreutils
|
|
- less
|
|
- realpath
|
|
- sipcalc
|
|
- psmisc
|
|
- dnsutils
|
|
- rblcheck
|
|
- whois
|
|
- gettext
|
|
- gettext-base
|
|
- gettext-doc
|
|
- debian-keyring
|
|
- patch
|
|
- patchutils
|
|
- recode
|
|
- recode-doc
|
|
- librecode0
|
|
- librecode-dev
|
|
- sharutils
|
|
- perl
|
|
- perl-modules-5.24
|
|
- perl-doc
|
|
- libperl-dev
|
|
- libterm-readline-gnu-perl
|
|
- libterm-readline-perl-perl
|
|
- libterm-readkey-perl
|
|
- libmail-imapclient-perl
|
|
- libtime-duration-perl
|
|
- libtimedate-perl
|
|
- libwww-perl
|
|
- libpcre3
|
|
- libreadline5
|
|
- re2c
|
|
- util-linux
|
|
- parted
|
|
- lshw
|
|
- gdisk
|
|
- smartmontools
|
|
- tcpdump
|
|
- telnet
|
|
- unhide
|
|
- lsof
|
|
- hdparm
|
|
- groff
|
|
- iproute2
|
|
- bridge-utils
|
|
- vlan
|
|
- ethtool
|
|
- wipe
|
|
- iperf
|
|
- mtr
|
|
- iptraf
|
|
- wget
|
|
- logrotate
|
|
- rsyslog
|
|
- haveged
|
|
- rdate
|
|
- ntpdate
|
|
- wipe
|
|
- man-db
|
|
- groff
|
|
- iptables
|
|
- shellcheck
|
|
- ssl-cert
|
|
- ssl-cert-check
|
|
- git
|
|
- ftp
|
|
- htop
|
|
- net-tools
|
|
- lsb-release
|
|
- attr
|
|
- acl
|
|
- quota
|
|
- quotatool
|
|
- needrestart
|
|
- socat
|
|
- wakeonlan
|
|
|
|
apt_initial_install_buster:
|
|
- apt-transport-https
|
|
- dbus
|
|
- openssh-server
|
|
- rush
|
|
- vim
|
|
- vim-common
|
|
- vim-doc
|
|
- mc
|
|
- screen
|
|
- tmux
|
|
- bc
|
|
- figlet
|
|
- rcconf
|
|
- sudo
|
|
- rsync
|
|
- dselect
|
|
- iputils-ping
|
|
- apt-utils
|
|
- aptitude
|
|
- zip
|
|
- unzip
|
|
- bzip2
|
|
- arj
|
|
- locate
|
|
- curl
|
|
- gawk
|
|
- mawk
|
|
- lynx
|
|
- links
|
|
- w3m
|
|
- ctags
|
|
- mime-support
|
|
- file
|
|
- coreutils
|
|
- moreutils
|
|
- less
|
|
- sipcalc
|
|
- psmisc
|
|
- dnsutils
|
|
- rblcheck
|
|
- whois
|
|
- gettext
|
|
- gettext-base
|
|
- gettext-doc
|
|
- debian-keyring
|
|
- patch
|
|
- patchutils
|
|
- recode
|
|
- recode-doc
|
|
- librecode0
|
|
- librecode-dev
|
|
- sharutils
|
|
- perl
|
|
- perl-modules-5.28
|
|
- perl-doc
|
|
- libperl-dev
|
|
- libterm-readline-gnu-perl
|
|
- libterm-readline-perl-perl
|
|
- libterm-readkey-perl
|
|
- libmail-imapclient-perl
|
|
- libtime-duration-perl
|
|
- libtimedate-perl
|
|
- libwww-perl
|
|
- libpcre3
|
|
- libio-compress-perl
|
|
- libreadline5
|
|
- re2c
|
|
- util-linux
|
|
- parted
|
|
- lshw
|
|
- gdisk
|
|
- smartmontools
|
|
- tcpdump
|
|
- telnet
|
|
- unhide
|
|
- lsof
|
|
- hdparm
|
|
- groff
|
|
- iproute2
|
|
- bridge-utils
|
|
- vlan
|
|
- ethtool
|
|
- wipe
|
|
- iperf
|
|
- mtr
|
|
- iptraf
|
|
- wget
|
|
- logrotate
|
|
- rsyslog
|
|
- haveged
|
|
- rdate
|
|
- ntpdate
|
|
- wipe
|
|
- man
|
|
- groff
|
|
- iptables
|
|
- shellcheck
|
|
- ssl-cert
|
|
- ssl-cert-check
|
|
- git
|
|
- ftp
|
|
- htop
|
|
- net-tools
|
|
- lsb-release
|
|
- attr
|
|
- acl
|
|
- quota
|
|
- quotatool
|
|
- needrestart
|
|
- socat
|
|
- wakeonlan
|
|
|
|
apt_initial_install_bullseye:
|
|
- apt-transport-https
|
|
- dbus
|
|
- openssh-server
|
|
- rush
|
|
- vim
|
|
- vim-common
|
|
- vim-doc
|
|
- mc
|
|
- screen
|
|
- tmux
|
|
- cron
|
|
- bc
|
|
- figlet
|
|
- rcconf
|
|
- sudo
|
|
- rsync
|
|
- dselect
|
|
- iputils-ping
|
|
- apt-utils
|
|
- aptitude
|
|
- zip
|
|
- unzip
|
|
- bzip2
|
|
- arj
|
|
- locate
|
|
- curl
|
|
- gawk
|
|
- mawk
|
|
- lynx
|
|
- links
|
|
- w3m
|
|
- universal-ctags
|
|
- mime-support
|
|
- file
|
|
- coreutils
|
|
- moreutils
|
|
- less
|
|
- sipcalc
|
|
- psmisc
|
|
- dnsutils
|
|
- rblcheck
|
|
- whois
|
|
- gettext
|
|
- gettext-base
|
|
- gettext-doc
|
|
- debian-keyring
|
|
- patch
|
|
- patchutils
|
|
- recode
|
|
- recode-doc
|
|
- librecode0
|
|
- librecode-dev
|
|
- sharutils
|
|
- perl
|
|
- perl-modules-5.32
|
|
- perl-doc
|
|
- libperl-dev
|
|
- libterm-readline-gnu-perl
|
|
- libterm-readline-perl-perl
|
|
- libterm-readkey-perl
|
|
- libmail-imapclient-perl
|
|
- libtime-duration-perl
|
|
- libtimedate-perl
|
|
- libwww-perl
|
|
- libpcre3
|
|
- libio-compress-perl
|
|
- libreadline-dev
|
|
- re2c
|
|
- util-linux
|
|
- parted
|
|
- lshw
|
|
- gdisk
|
|
- smartmontools
|
|
- tcpdump
|
|
- telnet
|
|
- unhide
|
|
- lsof
|
|
- hdparm
|
|
- groff
|
|
- iproute2
|
|
- bridge-utils
|
|
- vlan
|
|
- ethtool
|
|
- wipe
|
|
- iperf
|
|
- mtr
|
|
- iptraf
|
|
- wget
|
|
- logrotate
|
|
- rsyslog
|
|
- haveged
|
|
- rdate
|
|
- ntpdate
|
|
- wipe
|
|
- man
|
|
- groff
|
|
- iptables
|
|
- shellcheck
|
|
- ssl-cert
|
|
- ssl-cert-check
|
|
- git
|
|
- ftp
|
|
- htop
|
|
- net-tools
|
|
- lsb-release
|
|
- attr
|
|
- acl
|
|
- quota
|
|
- quotatool
|
|
- needrestart
|
|
- socat
|
|
- zsh
|
|
- lua5.4
|
|
- btrfs-progs
|
|
- fdisk
|
|
|
|
apt_initial_install_xenial:
|
|
- apt-transport-https
|
|
- dbus
|
|
- openssh-server
|
|
- rush
|
|
- vim
|
|
- vim-common
|
|
- vim-doc
|
|
- mc
|
|
- screen
|
|
- tmux
|
|
- bc
|
|
- figlet
|
|
- sudo
|
|
- rsync
|
|
- dselect
|
|
- iputils-ping
|
|
- apt-utils
|
|
- aptitude
|
|
- zip
|
|
- unzip
|
|
- bzip2
|
|
- arj
|
|
- locate
|
|
- curl
|
|
- gawk
|
|
- mawk
|
|
- lynx
|
|
- links
|
|
- w3m
|
|
- ctags
|
|
- mime-support
|
|
- file
|
|
- coreutils
|
|
- moreutils
|
|
- less
|
|
- sipcalc
|
|
- psmisc
|
|
- dnsutils
|
|
- rblcheck
|
|
- whois
|
|
- gettext
|
|
- gettext-base
|
|
- gettext-doc
|
|
- debian-keyring
|
|
- patch
|
|
- patchutils
|
|
- recode
|
|
- recode-doc
|
|
- librecode0
|
|
- librecode-dev
|
|
- sharutils
|
|
- perl
|
|
- perl-modules-5.22
|
|
- perl-doc
|
|
- libperl-dev
|
|
- libterm-readline-gnu-perl
|
|
- libterm-readline-perl-perl
|
|
- libterm-readkey-perl
|
|
- libmail-imapclient-perl
|
|
- libtime-duration-perl
|
|
- libtimedate-perl
|
|
- libwww-perl
|
|
- libpcre3
|
|
- libio-compress-perl
|
|
- libreadline5
|
|
- re2c
|
|
- util-linux
|
|
- parted
|
|
- lshw
|
|
- gdisk
|
|
- smartmontools
|
|
- tcpdump
|
|
- telnet
|
|
- unhide
|
|
- lsof
|
|
- hdparm
|
|
- groff
|
|
- iproute2
|
|
- bridge-utils
|
|
- vlan
|
|
- ethtool
|
|
- wipe
|
|
- iperf
|
|
- mtr
|
|
- iptraf
|
|
- wget
|
|
- logrotate
|
|
- rsyslog
|
|
- haveged
|
|
- rdate
|
|
- ntpdate
|
|
- wipe
|
|
- man
|
|
- groff
|
|
- iptables
|
|
- shellcheck
|
|
- ssl-cert
|
|
- ssl-cert-check
|
|
- git
|
|
- ftp
|
|
- htop
|
|
- net-tools
|
|
- lsb-release
|
|
- attr
|
|
- acl
|
|
- quota
|
|
- quotatool
|
|
- needrestart
|
|
- ifupdown
|
|
- socat
|
|
|
|
apt_initial_install_bionic:
|
|
- apt-transport-https
|
|
- dbus
|
|
- openssh-server
|
|
- rush
|
|
- vim
|
|
- vim-common
|
|
- vim-doc
|
|
- mc
|
|
- screen
|
|
- tmux
|
|
- bc
|
|
- figlet
|
|
- sudo
|
|
- rsync
|
|
- dselect
|
|
- iputils-ping
|
|
- apt-utils
|
|
- aptitude
|
|
- zip
|
|
- unzip
|
|
- bzip2
|
|
- arj
|
|
- locate
|
|
- curl
|
|
- gawk
|
|
- mawk
|
|
- lynx
|
|
- links
|
|
- w3m
|
|
- ctags
|
|
- mime-support
|
|
- file
|
|
- coreutils
|
|
- moreutils
|
|
- less
|
|
- sipcalc
|
|
- psmisc
|
|
- dnsutils
|
|
- rblcheck
|
|
- whois
|
|
- gettext
|
|
- gettext-base
|
|
- gettext-doc
|
|
- debian-keyring
|
|
- patch
|
|
- patchutils
|
|
- recode
|
|
- recode-doc
|
|
- librecode0
|
|
- librecode-dev
|
|
- sharutils
|
|
- perl
|
|
- perl-modules-5.26
|
|
- perl-doc
|
|
- libperl-dev
|
|
- libterm-readline-gnu-perl
|
|
- libterm-readline-perl-perl
|
|
- libterm-readkey-perl
|
|
- libmail-imapclient-perl
|
|
- libtime-duration-perl
|
|
- libtimedate-perl
|
|
- libwww-perl
|
|
- libpcre3
|
|
- libio-compress-perl
|
|
- libreadline5
|
|
- re2c
|
|
- util-linux
|
|
- parted
|
|
- lshw
|
|
- gdisk
|
|
- smartmontools
|
|
- tcpdump
|
|
- telnet
|
|
- unhide
|
|
- lsof
|
|
- hdparm
|
|
- groff
|
|
- iproute2
|
|
- bridge-utils
|
|
- vlan
|
|
- ethtool
|
|
- wipe
|
|
- iperf
|
|
- mtr
|
|
- iptraf
|
|
- wget
|
|
- logrotate
|
|
- rsyslog
|
|
- haveged
|
|
- rdate
|
|
- ntpdate
|
|
- wipe
|
|
- man
|
|
- groff
|
|
- iptables
|
|
- shellcheck
|
|
- ssl-cert
|
|
- ssl-cert-check
|
|
- git
|
|
- ftp
|
|
- htop
|
|
- net-tools
|
|
- lsb-release
|
|
- attr
|
|
- acl
|
|
- quota
|
|
- quotatool
|
|
- needrestart
|
|
- ifupdown
|
|
- socat
|
|
|
|
microcode_intel_package:
|
|
- intel-microcode
|
|
|
|
microcode_amd_package:
|
|
- amd64-microcode
|
|
|
|
firmware_packages_ubuntu:
|
|
- linux-firmware
|
|
|
|
firmware_packages_debian:
|
|
- firmware-linux
|
|
|
|
firmware_non_free_packages_debian:
|
|
- firmware-linux-nonfree
|
|
|
|
apt_install_state: latest
|
|
|
|
apt_remove:
|
|
- apt-transport-tor
|
|
- tor
|
|
- tor-geoipdb
|
|
- torsocks
|
|
|
|
apt_remove_xenial:
|
|
|
|
apt_remove_bionic:
|
|
|
|
apt_remove_purge: false
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/git.yml
|
|
# ==========
|
|
|
|
# ---
|
|
# default
|
|
# ---
|
|
|
|
git_default_repositories:
|
|
|
|
# script repositories (destination /root/bin/)
|
|
- name: admin-stuff
|
|
repo: https://git.oopen.de/script/admin-stuff
|
|
dest: /root/bin/admin-stuff
|
|
|
|
# ---
|
|
# group [file_server]
|
|
# ---
|
|
|
|
git_oopen_server_repositories:
|
|
|
|
# install repositories (destination: /usr/local/src/)
|
|
# mailsystem
|
|
- name: mailsystem
|
|
repo: https://git.oopen.de/install/mailsystem
|
|
dest: /usr/local/src/mailsystem
|
|
|
|
# script repositories (destination /root/bin/)
|
|
# Monitoring
|
|
- name: monitoring
|
|
repo: https://git.oopen.de/script/monitoring
|
|
dest: /root/bin/monitoring
|
|
|
|
# script repositories (destination /root/bin/)
|
|
- name: backup-rcopy
|
|
repo: https://git.oopen.de/backup/backup-rcopy
|
|
dest: /root/crontab/backup-rcopy
|
|
|
|
|
|
|
|
# ---
|
|
# group [samba_server]
|
|
# ---
|
|
|
|
git_samba_repositories:
|
|
|
|
# script repositories (destination /root/bin/)
|
|
- name: samba
|
|
repo: https://git.oopen.de/script/samba
|
|
dest: /root/bin/samba
|
|
|
|
|
|
# ---
|
|
# group [gateway_server]
|
|
# ---
|
|
|
|
git_gateway_repositories:
|
|
|
|
# install repositories (destination: /usr/local/src/)
|
|
# mailsystem
|
|
- name: mailsystem
|
|
repo: https://git.oopen.de/install/mailsystem
|
|
dest: /usr/local/src/mailsystem
|
|
|
|
# firewall
|
|
- name: ipt-gateway
|
|
repo: https://git.oopen.de/firewall/ipt-gateway
|
|
dest: /usr/local/src/ipt-gateway
|
|
|
|
# script repositories (destination /root/bin/)
|
|
# Monitoring
|
|
- name: monitoring
|
|
repo: https://git.oopen.de/script/monitoring
|
|
dest: /root/bin/monitoring
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/cups-install.yml
|
|
# ==========
|
|
|
|
apt_install_server_cups_buster:
|
|
- cups
|
|
|
|
apt_install_client_cups:
|
|
- cups
|
|
- cups-client
|
|
- cups-common
|
|
- cups-ppdc
|
|
- cups-bsd
|
|
- cups-filters-ippusbxd
|
|
- lsb-printing
|
|
- hpijs-ppds
|
|
- printer-driver-hpcups
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/ntp.yml
|
|
# ==========
|
|
|
|
# name or ip-adress from the (local) ntp server, mostly the gateway
|
|
#
|
|
ntp_server: gw-flr.flr.netz
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/nfs.yml
|
|
# ==========
|
|
|
|
nfs_server: 192.168.102.10
|
|
|
|
# Set 'fs_encrypted' to true if filesystem lives on an encrypted
|
|
# partition.
|
|
#
|
|
nfs_exports:
|
|
- src: 192.168.102.10:/data/home
|
|
path: /data/home
|
|
mount_opts: users,rsize=8192,wsize=8192,hard,intr
|
|
export_opt: rw,root_squash,sync,subtree_check
|
|
export_networks:
|
|
- 192.168.102.0/24
|
|
- 10.0.102.0/24
|
|
- 10.1.102.0/24
|
|
- 192.168.63.0/24
|
|
fs_encrypted: false
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/system-user.yml
|
|
# ==========
|
|
|
|
# ! Notice !
|
|
#
|
|
# On NIS supported Server put your users and groups in the
|
|
# appropriate section for playbook 'nis-user.yml'
|
|
#
|
|
# ! Notice !
|
|
|
|
remove_system_users: []
|
|
|
|
system_users: []
|
|
#system_users:
|
|
# - name: sysadm
|
|
# password: '9xFXkdPR_2'
|
|
|
|
system_groups: []
|
|
|
|
base_home: /home
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/nis-install-server.yml
|
|
# vars used by roles/common/tasks/nis-user.yml
|
|
# vars used by roles/common/tasks/nis-install-client.yml
|
|
# ==========
|
|
|
|
# used by templates
|
|
# - yp.conf.j2
|
|
# - defaultdomain.j2
|
|
nis_domain: flr.netz
|
|
|
|
nis_server_address: 192.168.102.10
|
|
|
|
nis_server_name: file-flr.flr.netz
|
|
|
|
nis_common_packages:
|
|
- nis
|
|
- nscd
|
|
|
|
|
|
nis_base_home: /data/home
|
|
|
|
nis_groups:
|
|
- name: team
|
|
group_id: 1030
|
|
- name: esf-bleibnet
|
|
group_id: 1031
|
|
- name: amif
|
|
group_id: 1032
|
|
- name: quali
|
|
group_id: 1033
|
|
- name: aktion-mensch
|
|
group_id: 1034
|
|
- name: foerderung
|
|
group_id: 1035
|
|
- name: buchhaltung
|
|
group_id: 1036
|
|
- name: verwaltung
|
|
group_id: 1037
|
|
|
|
remove_nis_users: []
|
|
#remove_nis_users:
|
|
# - name: test
|
|
# - name: ivana
|
|
|
|
nis_user:
|
|
- name: chris
|
|
groups:
|
|
- team
|
|
- esf-bleibnet
|
|
- amif
|
|
- quali
|
|
- aktion-mensch
|
|
- foerderung
|
|
- buchhaltung
|
|
- verwaltung
|
|
is_samba_user: true
|
|
password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
38643435653764393333613564393733666139656264343833333632373938323230393036303234
|
|
3633303562636465643930643961663165646237386664370a386362346162313037353163383365
|
|
61343263386239316164613935633062343165363863376462653165306464633136313839343962
|
|
3865353333373661390a643564386432643532396632323664383330646430613033643130626430
|
|
6139
|
|
|
|
- name: mara
|
|
groups:
|
|
- team
|
|
- amif
|
|
- quali
|
|
is_samba_user: true
|
|
password: '20/mara_16!'
|
|
|
|
- name: flr
|
|
groups:
|
|
- team
|
|
- esf-bleibnet
|
|
- amif
|
|
- quali
|
|
- aktion-mensch
|
|
- foerderung
|
|
- buchhaltung
|
|
- verwaltung
|
|
is_samba_user: true
|
|
password: '20-flr-brb_18'
|
|
|
|
- name: hannah
|
|
groups:
|
|
- team
|
|
- esf-bleibnet
|
|
- amif
|
|
- quali
|
|
- aktion-mensch
|
|
- foerderung
|
|
- buchhaltung
|
|
- verwaltung
|
|
is_samba_user: true
|
|
password: 'Y7ef%9+V_LoE'
|
|
|
|
- name: kamue
|
|
groups:
|
|
- team
|
|
- esf-bleibnet
|
|
- amif
|
|
- quali
|
|
- aktion-mensch
|
|
- foerderung
|
|
- verwaltung
|
|
is_samba_user: true
|
|
password: '20_katha-mue%19'
|
|
|
|
- name: lotta
|
|
groups:
|
|
- team
|
|
- amif
|
|
is_samba_user: true
|
|
password: '20_lotta_15!'
|
|
|
|
- name: mustafa
|
|
groups:
|
|
- team
|
|
- aktion-mensch
|
|
is_samba_user: true
|
|
password: 'mu-20-sta-21_%!'
|
|
|
|
- name: kirstin
|
|
groups:
|
|
- team
|
|
- aktion-mensch
|
|
is_samba_user: true
|
|
password: '20_kir-17-stin!'
|
|
|
|
- name: pierre
|
|
groups:
|
|
- team
|
|
- esf-bleibnet
|
|
is_samba_user: true
|
|
password: '20_pierre16!20'
|
|
|
|
- name: vincent
|
|
groups:
|
|
- team
|
|
- esf-bleibnet
|
|
is_samba_user: true
|
|
password: 'vin-20-cent_21!'
|
|
|
|
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/samba-install.yml
|
|
# ==========
|
|
|
|
apt_install_server_samba:
|
|
- samba
|
|
- nscd
|
|
|
|
# - winbind
|
|
|
|
apt_install_client_samba:
|
|
- samba-client
|
|
- samba-common
|
|
|
|
samba_server: file-flr.flr.netz
|
|
|
|
samba_cronjob_trash_dirs:
|
|
name: Clean up Samba Trash Dirs
|
|
minute: "02"
|
|
hour: "23"
|
|
day: "*"
|
|
month: "*"
|
|
weekday: '*'
|
|
user: root
|
|
job: "/root/bin/samba/clean_samba_trash.sh"
|
|
|
|
samba_cronjob_permissions:
|
|
name: Set (group and access) Permissons for Samba shares
|
|
minute: "14"
|
|
hour: "23"
|
|
day: "*"
|
|
month: "*"
|
|
weekday: '*'
|
|
user: root
|
|
job: "/root/bin/samba/set_permissions_samba_shares.sh"
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/samba-user.yml
|
|
# ==========
|
|
|
|
# ! Notice !
|
|
#
|
|
# variables used from other previos sections:
|
|
#
|
|
# - remove_system_users: roles/common/tasks/system-user.yml
|
|
# - remove_nis_users: roles/common/tasks/nis-install-server.yml
|
|
# - nis_user: roles/common/tasks/nis-install-server.yml
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/mount_samba_shares.yml
|
|
# ==========
|
|
|
|
# ! Notice !
|
|
#
|
|
# variables used from other previos sections:
|
|
#
|
|
# - nis_user: roles/common/tasks/nis-install-server.yml
|
|
|
|
samba_workgroup: FLR
|
|
samba_netbios_name: FILE-FLR
|
|
|
|
samba_shares:
|
|
- name: Team
|
|
path: /data/samba/Team
|
|
group_valid_users: team
|
|
group_write_list: team
|
|
file_create_mask: '0660'
|
|
dir_create_mask: '2770'
|
|
vfs_object_recycle: true
|
|
recycle_path: '@Recycle.Bin'
|
|
user:
|
|
- chris
|
|
- flr
|
|
- hannah
|
|
- kamue
|
|
- kirstin
|
|
- mara
|
|
- lotta
|
|
- mustafa
|
|
- pierre
|
|
- vincent
|
|
|
|
- name: ESF-BleibNet
|
|
path: /data/samba/ESF-BleibNet
|
|
group_valid_users: esf-bleibnet
|
|
group_write_list: esf-bleibnet
|
|
file_create_mask: '0660'
|
|
dir_create_mask: '2770'
|
|
vfs_object_recycle: true
|
|
recycle_path: '@Recycle.Bin'
|
|
user:
|
|
- chris
|
|
- hannah
|
|
- kamue
|
|
- pierre
|
|
- vincent
|
|
|
|
- name: AMIF
|
|
path: /data/samba/AMIF
|
|
group_valid_users: amif
|
|
group_write_list: amif
|
|
file_create_mask: '0660'
|
|
dir_create_mask: '2770'
|
|
vfs_object_recycle: true
|
|
recycle_path: '@Recycle.Bin'
|
|
user:
|
|
- chris
|
|
- hannah
|
|
- kamue
|
|
- lotta
|
|
- mara
|
|
|
|
- name: Quali
|
|
path: /data/samba/Quali
|
|
group_valid_users: quali
|
|
group_write_list: quali
|
|
file_create_mask: '0660'
|
|
dir_create_mask: '2770'
|
|
vfs_object_recycle: true
|
|
recycle_path: '@Recycle.Bin'
|
|
user:
|
|
- chris
|
|
- hannah
|
|
- kamue
|
|
- mara
|
|
|
|
- name: Aktion-Mensch
|
|
path: /data/samba/Aktion-Mensch
|
|
group_valid_users: aktion-mensch
|
|
group_write_list: aktion-mensch
|
|
file_create_mask: '0660'
|
|
dir_create_mask: '2770'
|
|
vfs_object_recycle: true
|
|
recycle_path: '@Recycle.Bin'
|
|
user:
|
|
- chris
|
|
- hannah
|
|
- kamue
|
|
- kirstin
|
|
- mustafa
|
|
|
|
- name: Strukturfoerderung-und-Archiv-Projekte
|
|
path: /data/samba/Strukturfoerderung-und-Archiv-Projekte
|
|
group_valid_users: foerderung
|
|
group_write_list: foerderung
|
|
file_create_mask: '0660'
|
|
dir_create_mask: '2770'
|
|
vfs_object_recycle: true
|
|
recycle_path: '@Recycle.Bin'
|
|
user:
|
|
- chris
|
|
- hannah
|
|
- kamue
|
|
|
|
- name: Buchhaltung
|
|
path: /data/samba/Buchhaltung
|
|
group_valid_users: buchhaltung
|
|
group_write_list: buchhaltung
|
|
file_create_mask: '0660'
|
|
dir_create_mask: '2770'
|
|
vfs_object_recycle: true
|
|
recycle_path: '@Recycle.Bin'
|
|
user:
|
|
- chris
|
|
- hannah
|
|
|
|
- name: Verwaltung
|
|
path: /data/samba/Verwaltung
|
|
group_valid_users: verwaltung
|
|
group_write_list: verwaltung
|
|
file_create_mask: '0660'
|
|
dir_create_mask: '2770'
|
|
vfs_object_recycle: true
|
|
recycle_path: '@Recycle.Bin'
|
|
user:
|
|
- chris
|
|
- hannah
|
|
- kamue
|
|
|
|
- name: Install
|
|
path: /data/samba/Install
|
|
group_valid_users: team
|
|
group_write_list: team
|
|
file_create_mask: '0660'
|
|
dir_create_mask: '2770'
|
|
vfs_object_recycle: true
|
|
recycle_path: '@Recycle.Bin'
|
|
user:
|
|
- chris
|
|
- hannah
|
|
- kamue
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/system-user-systemfiles.yml
|
|
# ==========
|
|
|
|
# ! Notice !
|
|
#
|
|
# variables used from other previos sections:
|
|
#
|
|
# - system_users: roles/common/tasks/system-user.yml
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/nis-user-systemfiles.yml
|
|
# ==========
|
|
|
|
# ! Notice !
|
|
#
|
|
# variables used from other previos sections:
|
|
#
|
|
# - nis_user: roles/common/tasks/nis-install-server.yml
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/sudoers-pc.yml
|
|
# ==========
|
|
|
|
sudo_pc_users:
|
|
- chris
|
|
- sysadm
|
|
|
|
|
|
# /etc/sudoers
|
|
#
|
|
sudoers_pc_defaults:
|
|
- env_reset
|
|
- mail_badpass
|
|
- 'secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"'
|
|
|
|
sudoers_pc_host_aliases: []
|
|
|
|
sudoers_pc_user_aliases: []
|
|
|
|
sudoers_pc_cmnd_aliases: []
|
|
|
|
sudoers_pc_runas_aliases: []
|
|
|
|
sudoers_pc_user_privileges:
|
|
- name: root
|
|
entry: 'ALL=(ALL:ALL) ALL'
|
|
|
|
sudoers_pc_group_privileges: []
|
|
|
|
|
|
|
|
# /etc/sudoers.d/50-user
|
|
#
|
|
sudoers_pc_file_defaults: []
|
|
|
|
sudoers_pc_file_host_aliases: []
|
|
|
|
sudoers_pc_file_user_aliases: []
|
|
|
|
sudoers_pc_file_cmnd_aliases:
|
|
- name: MOUNT
|
|
entry: '/bin/mount,/bin/umount'
|
|
|
|
sudoers_pc_file_runas_aliases: []
|
|
|
|
|
|
# ==========
|
|
# vars used by roles/common/tasks/sudoers-server.yml
|
|
# ==========
|
|
|
|
sudo_server_users:
|
|
- chris
|
|
- sysadm
|
|
|
|
# /etc/sudoers
|
|
#
|
|
sudoers_server_defaults:
|
|
- env_reset
|
|
- mail_badpass
|
|
- 'secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"'
|
|
|
|
sudoers_server_host_aliases: []
|
|
|
|
sudoers_server_user_aliases: []
|
|
|
|
sudoers_server_cmnd_aliases: []
|
|
|
|
sudoers_server_runas_aliases: []
|
|
|
|
sudoers_server_user_privileges:
|
|
- name: root
|
|
entry: 'ALL=(ALL:ALL) ALL'
|
|
|
|
sudoers_server_group_privileges: []
|
|
|
|
sudoers_server_remove_user:
|
|
- back
|
|
- www-data
|
|
|
|
|
|
# /etc/sudoers.d/50-user
|
|
#
|
|
sudoers_server_file_defaults: []
|
|
|
|
sudoers_server_file_host_aliases: []
|
|
|
|
sudoers_server_file_user_aliases: []
|
|
|
|
sudoers_server_file_cmnd_aliases: []
|
|
|
|
sudoers_server_file_runas_aliases: []
|
|
|
|
sudoers_server_file_user_back_privileges:
|
|
- 'ALL=(root) NOPASSWD: /usr/bin/rsync'
|
|
- 'ALL=(root) NOPASSWD: /usr/bin/find'
|
|
- 'ALL=(root) NOPASSWD: /usr/bin/realpath'
|
|
|
|
sudoers_server_file_user_back_disk_privileges:
|
|
- 'ALL=(root) NOPASSWD: /usr/bin/which'
|
|
- 'ALL=(root) NOPASSWD: /sbin/hdparm -I /dev/*'
|
|
- 'ALL=(root) NOPASSWD: /sbin/fdisk'
|
|
- 'ALL=(root) NOPASSWD: /sbin/sgdisk'
|
|
- 'ALL=(root) NOPASSWD: /sbin/sfdisk -d /dev/*'
|
|
- 'ALL=(root) NOPASSWD: /bin/dd if=/dev/*'
|
|
- 'ALL=(root) NOPASSWD: /sbin/parted'
|
|
- 'ALL=(root) NOPASSWD: /sbin/gdisk'
|
|
|
|
# sudoers_server_file_user_privileges
|
|
# - name: <name1>
|
|
# entry: <sudoer-entry1>
|
|
# - name : <name2>
|
|
# entry: <sudoer-entry22>
|
|
# - ...
|
|
#
|
|
sudoers_server_file_user_privileges: []
|
|
|
|
# sudoers_server_file_group_privileges
|
|
# - name: <name1>
|
|
# entry: <sudoer-entry1>
|
|
# - name : <name2>
|
|
# entry: <sudoer-entry22>
|
|
# - ...
|
|
#
|
|
sudoers_server_file_group_privileges: []
|
|
|
|
|
|
# ========================================
|
|
# ========================================
|
|
# ========================================
|
|
|
|
|
|
# ---
|
|
# vars used by roles/ansible_dependencies
|
|
# ---
|
|
|
|
apt_ansible_dependencies:
|
|
- python
|
|
- python-apt
|
|
- python3
|
|
- python3-apt
|
|
- lsb-release
|
|
- apt-transport-https
|
|
- dbus
|
|
- sudo
|
|
- vim
|
|
- net-tools
|
|
- vlan
|
|
|
|
|
|
# ---
|
|
# vars used by roles/ansible_user
|
|
# ---
|
|
|
|
ssh_keys_admin:
|
|
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO90culn3sicU2chTHn40ytcTay0nUIHap0uF/5fVM6P chris@sol'
|
|
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOQHMUKlDh2ufno5pZOhUY5xFljC1R5zQ/GjOHDkS58D root@sol'
|
|
|
|
ansible_remote_user:
|
|
- name: local
|
|
password: $6$hJSDt2xM$mWlfc6Ve11Y7F9J3KRapYGpN7KCD1IlbelYq/jd/xuG.UfK04nl2VOHJXVPYqC3H6q3VToAyD3yPqEcwT.KPA0
|
|
shell: /bin/bash
|
|
|
|
|