update..
This commit is contained in:
306
host_vars/file-ebs.ebs.netz.yml
Normal file
306
host_vars/file-ebs.ebs.netz.yml
Normal file
@ -0,0 +1,306 @@
|
||||
---
|
||||
|
||||
# ---
|
||||
# vars used by roles/network_interfaces
|
||||
# ---
|
||||
|
||||
|
||||
# If true, all additional files in /etc/network/interfaces/interfaces.d/ are deleted
|
||||
network_manage_devices: True
|
||||
|
||||
# Should the interfaces be reloaded after config change?
|
||||
network_interface_reload: False
|
||||
|
||||
network_interface_path: /etc/network/interfaces.d
|
||||
network_interface_required_packages:
|
||||
- vlan
|
||||
- bridge-utils
|
||||
- ifmetric
|
||||
- ifupdown
|
||||
- ifenslave
|
||||
- resolvconf
|
||||
|
||||
|
||||
network_interfaces:
|
||||
|
||||
- device: br0
|
||||
# use only once per device (for the first device entry)
|
||||
headline: br0 - bridge over device eno1
|
||||
|
||||
# auto & allow are only used for the first device entry
|
||||
allow: [] # array of allow-[stanzas] eg. allow-hotplug
|
||||
auto: true
|
||||
|
||||
family: inet
|
||||
method: static
|
||||
hwaddress: 3c:ec:ef:96:ab:f6
|
||||
description:
|
||||
address: 192.168.182.10
|
||||
netmask: 24
|
||||
gateway: 192.168.182.254
|
||||
|
||||
# optional dns settings nameservers: []
|
||||
#
|
||||
# nameservers:
|
||||
# - 194.150.168.168 # dns.as250.net
|
||||
# - 91.239.100.100 # anycast.censurfridns.dk
|
||||
# search: warenform.de
|
||||
#
|
||||
nameservers:
|
||||
- 192.168.182.1
|
||||
search: ebs.netz
|
||||
|
||||
# optional bridge parameters bridge: {}
|
||||
# bridge:
|
||||
# ports:
|
||||
# stp:
|
||||
# fd:
|
||||
# maxwait:
|
||||
# waitport:
|
||||
bridge:
|
||||
ports: eno1 # for mor devices support a blank separated list
|
||||
stp: !!str off
|
||||
fd: 5
|
||||
hello: 2
|
||||
maxage: 12
|
||||
|
||||
# inline hook scripts
|
||||
pre-up:
|
||||
- !!str "ip link set dev eno1 up" # pre-up script lines
|
||||
up: [] #up script lines
|
||||
post-up: [] # post-up script lines (alias for up)
|
||||
pre-down: [] # pre-down script lines (alias for down)
|
||||
down: [] # down script lines
|
||||
post-down: [] # post-down script lines
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/ansible_dependencies
|
||||
# ---
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/ansible_user
|
||||
# ---
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/basic.yml
|
||||
# ---
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/sshd.yml
|
||||
# ---
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/apt.yml
|
||||
# ---
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/cron.yml
|
||||
# ---
|
||||
|
||||
cron_user_special_time_entries:
|
||||
|
||||
- name: "Restart DNS Cache service 'systemd-resolved'"
|
||||
special_time: reboot
|
||||
job: "sleep 10 ; /bin/systemctl restart systemd-resolved"
|
||||
insertafter: PATH
|
||||
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/users.yml
|
||||
# ---
|
||||
|
||||
default_user:
|
||||
|
||||
- name: chris
|
||||
password: $6$bSHlaLHC$URSMVq090e/cJ1v55Jh9ws0w5WekhO7X3Y0RqryAl5R76K9khWBegC76Smjastja.xMiD57/LzUUXW7y9NvAL.
|
||||
shell: /bin/bash
|
||||
ssh_keys:
|
||||
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO90culn3sicU2chTHn40ytcTay0nUIHap0uF/5fVM6P chris@sol'
|
||||
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOQHMUKlDh2ufno5pZOhUY5xFljC1R5zQ/GjOHDkS58D root@sol'
|
||||
|
||||
- name: sysadm
|
||||
user_id: 1050
|
||||
group_id: 1050
|
||||
group: sysadm
|
||||
password: $6$XI.g9q9bTmzqe35q$tDrpoJFBGsHrmy/mtOAQfrstgIhZEaYGt6hxfTCXI0YvAAUiHT4cJOLR6ivN0CPVNtkv8IFe7dk8NXR/1yScm.
|
||||
shell: /bin/bash
|
||||
ssh_keys:
|
||||
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO90culn3sicU2chTHn40ytcTay0nUIHap0uF/5fVM6P chris@sol'
|
||||
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOQHMUKlDh2ufno5pZOhUY5xFljC1R5zQ/GjOHDkS58D root@sol'
|
||||
|
||||
- name: back
|
||||
user_id: 1060
|
||||
group_id: 1060
|
||||
group: back
|
||||
password: $6$8v0PKesHmS2Z1xIO$n2a19e2GawIvHNi9U.W4nTxjJCTDtO5AlEP082PnCdp.fw5vIMv1AA.i2RMbXH2XuMdphXU6srSV/wFmp0e0q.
|
||||
shell: /bin/bash
|
||||
ssh_keys:
|
||||
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO90culn3sicU2chTHn40ytcTay0nUIHap0uF/5fVM6P chris@sol'
|
||||
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOQHMUKlDh2ufno5pZOhUY5xFljC1R5zQ/GjOHDkS58D root@sol'
|
||||
|
||||
sudo_users:
|
||||
- chris
|
||||
- sysadm
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/users-systemfiles.yml
|
||||
# ---
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/webadmin-user.yml
|
||||
# ---
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/sudoers.yml
|
||||
# ---
|
||||
#
|
||||
# see: roles/common/tasks/vars
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/caching-nameserver.yml
|
||||
# ---
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/git.yml
|
||||
# ---
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/nfs.yml
|
||||
# ---
|
||||
|
||||
nfs_server: 192.168.182.10
|
||||
|
||||
# Set 'fs_encrypted' to true if filesystem lives on an encrypted
|
||||
# partition.
|
||||
#
|
||||
# NOTE !!
|
||||
# Take car to increase 'fsid' in case of more than one export
|
||||
#
|
||||
nfs_exports:
|
||||
- src: 192.168.182.10:/data/samba
|
||||
path: /data/samba
|
||||
mount_opts: users,rsize=8192,wsize=8192,hard,intr
|
||||
export_opt: rw,root_squash,sync,subtree_check
|
||||
export_networks:
|
||||
- 192.168.182.0/24
|
||||
- 10.0.192.0/24
|
||||
- 10.1.192.0/24
|
||||
- 192.168.63.0/24
|
||||
use_fsid_option: true
|
||||
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/samba-config-server.yml
|
||||
# vars used by roles/common/tasks/samba-user.yml
|
||||
# ---
|
||||
|
||||
samba_server_ip: 192.168.182.10
|
||||
samba_server_cidr_prefix: 24
|
||||
|
||||
samba_workgroup: EBS
|
||||
|
||||
samba_netbios_name: FILE-EBS
|
||||
|
||||
#samba_server_min_protocol: !!str NT1
|
||||
|
||||
samba_groups:
|
||||
|
||||
- name: alle
|
||||
group_id: 1110
|
||||
|
||||
|
||||
samba_user:
|
||||
|
||||
- name: chris
|
||||
groups:
|
||||
- alle
|
||||
password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
63643330373231636537366333326630333265303265653933613835656262323863363038653234
|
||||
3462653135633266373439626263356636646637643035340a653466356235346663626163306363
|
||||
61313164643061306433643738643563303036646334376536626531383965303036386162393832
|
||||
6631333038306462610a356535633265633563633962333137326533633834636331343562633765
|
||||
3631
|
||||
|
||||
- name: sysadm
|
||||
groups:
|
||||
- alle
|
||||
password: 'IrcR3uo-QJ.5'
|
||||
|
||||
- name: buero
|
||||
groups:
|
||||
- alle
|
||||
password: 'buero-ebs/2022.%'
|
||||
|
||||
- name: axel
|
||||
groups:
|
||||
- alle
|
||||
password: 'ah-ebs.2022-!'
|
||||
|
||||
- name: bjoern
|
||||
groups:
|
||||
- alle
|
||||
password: 'be-ebs-2022/%'
|
||||
|
||||
- name: christoph
|
||||
groups:
|
||||
- alle
|
||||
password: 'ck-ebs-2022.%'
|
||||
|
||||
- name: kristin
|
||||
groups:
|
||||
- alle
|
||||
password: 'kp-ebs.2022_%'
|
||||
|
||||
- name: maik
|
||||
groups:
|
||||
- alle
|
||||
password: 'me-ebs_2022.!'
|
||||
|
||||
|
||||
|
||||
base_home: /data/home
|
||||
|
||||
# remove_samba_users:
|
||||
# - name: name1
|
||||
# - name: name2
|
||||
#
|
||||
remove_samba_users: []
|
||||
|
||||
samba_shares:
|
||||
|
||||
- name: 4all
|
||||
comment: 4all auf Fileserver
|
||||
path: /data/samba/4all
|
||||
group_valid_users: alle
|
||||
group_write_list: alle
|
||||
file_create_mask: !!str 660
|
||||
dir_create_mask: !!str 2770
|
||||
vfs_object_recycle: true
|
||||
|
||||
|
||||
|
||||
# ==============================
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by scripts/reset_root_passwd.yml
|
||||
# ---
|
||||
|
||||
root_user:
|
||||
name: root
|
||||
password: $6$J1ssJfdshf/$mknQEPDcW4HN5.wFfawbamamywI7F7fhdZmaR1abNrc4DA7DNRx766lz3ygf9YV3gcmRq3QhJ3fBVlkwGMCvq.
|
@ -122,6 +122,8 @@ bind9_gateway_acl:
|
||||
entries:
|
||||
- '# Nameserver Kanzlei Kiel'
|
||||
- 192.168.100.1
|
||||
- '# Nameserver Kanzlei Elster'
|
||||
- 192.168.202.1
|
||||
|
||||
bind9_gateway_listen_on_v6:
|
||||
- none
|
||||
|
@ -26,13 +26,13 @@ network_interfaces:
|
||||
auto: true
|
||||
family: inet
|
||||
method: static
|
||||
address: 172.16.192.1
|
||||
address: 192.168.1.253
|
||||
netmask: 24
|
||||
gateway: 172.16.192.254
|
||||
gateway: 192.168.1.1
|
||||
nameservers:
|
||||
- 127.0.0.1
|
||||
- 192.168.192.1
|
||||
search: fhxb.netz
|
||||
- 192.168.1.253
|
||||
search: elster.netz
|
||||
|
||||
|
||||
- device: eno2
|
||||
@ -40,7 +40,7 @@ network_interfaces:
|
||||
auto: true
|
||||
family: inet
|
||||
method: static
|
||||
address: 192.168.192.254
|
||||
address: 192.168.202.254
|
||||
netmask: 23
|
||||
|
||||
|
||||
@ -49,7 +49,7 @@ network_interfaces:
|
||||
auto: true
|
||||
family: inet
|
||||
method: static
|
||||
address: 192.168.192.1
|
||||
address: 192.168.202.1
|
||||
netmask: 32
|
||||
|
||||
|
||||
@ -58,16 +58,7 @@ network_interfaces:
|
||||
auto: true
|
||||
family: inet
|
||||
method: static
|
||||
address: 192.168.194.254
|
||||
netmask: 24
|
||||
|
||||
|
||||
- device: eno4
|
||||
headline: eno4 - OLD LAN
|
||||
auto: true
|
||||
family: inet
|
||||
method: static
|
||||
address: 192.168.178.254
|
||||
address: 192.168.203.254
|
||||
netmask: 24
|
||||
|
||||
|
||||
@ -115,7 +106,7 @@ cron_user_entries:
|
||||
- name: "Copy gateway configuration"
|
||||
minute: '09'
|
||||
hour: '3'
|
||||
job: /root/bin/manage-gw-config/copy_gateway-config.sh FHXB
|
||||
job: /root/bin/manage-gw-config/copy_gateway-config.sh ELSTER
|
||||
|
||||
|
||||
#cron_user_special_time_entries: []
|
||||
@ -231,6 +222,11 @@ bind9_gateway_acl:
|
||||
- fc00::/7
|
||||
- fe80::/10
|
||||
- ::1/128
|
||||
- internaldns:
|
||||
name: internaldns
|
||||
entries:
|
||||
- '# Nameserver Kanzlei EBS'
|
||||
- 192.168.182.1
|
||||
|
||||
bind9_gateway_listen_on_v6:
|
||||
- none
|
||||
@ -240,7 +236,10 @@ bind9_gateway_listen_on:
|
||||
|
||||
#bind9_gateway_allow_transfer: {}
|
||||
bind9_gateway_allow_transfer:
|
||||
- none
|
||||
- internaldns
|
||||
|
||||
bind9_transfer_source: !!str "192.168.202.1"
|
||||
bind9_notify_source: !!str "192.168.202.1"
|
||||
|
||||
#bind9_gateway_allow_query: {}
|
||||
bind9_gateway_allow_query:
|
Reference in New Issue
Block a user