publish to ansible-galaxy

This commit is contained in:
Uumas
2021-05-11 19:35:19 +03:00
parent a71699c922
commit 4ebae34d2a
7 changed files with 9 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
uumas-general-*.tar.gz

View File

@@ -6,3 +6,5 @@ version: 0.3.0
readme: README.md
authors:
- uumas
license_file: 'LICENSE'
repository: 'https://git.uumas.fi/uumas/ansible-general'

1
roles/caddy/README.md Normal file
View File

@@ -0,0 +1 @@
Installs caddy https server

1
roles/packages/README.md Normal file
View File

@@ -0,0 +1 @@
Installs packages defined in `install_packages` list variable. Deletes packages in `delete_packages` if defined.

1
roles/ssh/README.md Normal file
View File

@@ -0,0 +1 @@
Configures ssh with sane settings

View File

@@ -1,10 +1,10 @@
---
- name: Disable SSH root login without password
lineinfile:
lineinfile:
path: /etc/ssh/sshd_config
regexp: '^#?PermitRootLogin .*$'
line: "PermitRootLogin prohibit-password"
line: "PermitRootLogin prohibit-password"
state: present
validate: '/usr/sbin/sshd -t -f %s'
notify: restart ssh

1
roles/users/README.md Normal file
View File

@@ -0,0 +1 @@
Creates users defined in `users` variable