let's turn these into roles
This commit is contained in:
4 files changed
+12
-3
No files matched your search
@@ -9,9 +9,8 @@
|
|||||||
- name: harden ssh
|
- name: harden ssh
|
||||||
block:
|
block:
|
||||||
- name: disable password auth
|
- name: disable password auth
|
||||||
copy:
|
include_role:
|
||||||
src: sshd/00-nopasswd.conf
|
name: kevinnlsamuel.galaxy.sshd.disablepasswd
|
||||||
dest: /etc/ssh/ssh_config.d/00-altport.conf
|
|
||||||
- name: change ssh port
|
- name: change ssh port
|
||||||
template:
|
template:
|
||||||
src: sshd/00-altport.conf
|
src: sshd/00-altport.conf
|
||||||
|
|||||||
File renamed without changes.
@@ -0,0 +1,6 @@
|
|||||||
|
galaxy_info:
|
||||||
|
author: kevinnlsamuel
|
||||||
|
description: sayin hello
|
||||||
|
dependencies:
|
||||||
|
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
|
||||||
|
# if you add dependencies to this list.
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
- name: disable password auth
|
||||||
|
copy:
|
||||||
|
src: 00-nopasswd.conf
|
||||||
|
dest: /etc/ssh/ssh_config.d/00-nopasswd.conf
|
||||||
Reference in new issue
Block a user