Merge branch 'master' into dev

This commit is contained in:
rene
2022-02-25 12:01:33 +01:00
11 changed files with 54 additions and 44 deletions

View File

@@ -15,7 +15,7 @@ PrintLastLog no
AllowUsers rene
Match Address 192.168.1.240
AllowUsers root,rene
AllowUsers root rene
Match User root
PasswordAuthentication no

View File

@@ -6,4 +6,7 @@
owner: 'root'
group: 'root'
loop:
- { ip: '192.168.1.240', fqdn: 'gitlab.social.my-wan.de'}
- { ip: '192.168.1.240', fqdn: 'gitlab.social.my-wan.de'}
when:
- set_hosts is defined
- set_hosts == true

View File

@@ -12,7 +12,7 @@
enabled: yes
state: started
- name: system setup | openssh | generate sshd_config file from template
- name: system setup | openssh | copy sshd custom config
tags: openssh,ssh,system,settings
copy:
src: system_setup/sshd_custom.conf

View File

@@ -2,6 +2,8 @@
user:
name: rene
shell: "/usr/bin/zsh"
groups: "sudo"
append: True
# - name: users | rene | install public ssh keys
# authorized_key:

View File

@@ -1,7 +1,7 @@
- name: users | root | ensure account is locked
user:
name: root
password_lock: yes
# - name: users | root | ensure account is locked
# user:
# name: root
# password_lock: yes
# - name: users | root | install public ssh keys
# authorized_key: