Merge branch 'master' into dev
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
user:
|
||||
name: rene
|
||||
shell: "/usr/bin/zsh"
|
||||
groups: "sudo"
|
||||
append: True
|
||||
|
||||
# - name: users | rene | install public ssh keys
|
||||
# authorized_key:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user