bastion update
This commit is contained in:
@@ -39,5 +39,5 @@ crictl_file_owner: root
|
||||
crictl_file_group: root
|
||||
|
||||
# temp
|
||||
username:
|
||||
password:
|
||||
username: root
|
||||
password: saasadmin1234!@#$
|
||||
|
||||
2
ansible/roles/security-settings/files/allow_users.conf
Normal file
2
ansible/roles/security-settings/files/allow_users.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
AllowUsers *@10.20.142.*
|
||||
AllowUsers *@10.10.43.*
|
||||
@@ -21,3 +21,12 @@
|
||||
group: root
|
||||
mode: 0640
|
||||
notify: restart sshd
|
||||
|
||||
- name: SSH AllowUsers Setting
|
||||
copy:
|
||||
src: allow_users.conf
|
||||
dest: /etc/ssh/sshd_config.d/allow_users.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
|
||||
|
||||
Reference in New Issue
Block a user