[fix] role:system-basics:root
This commit is contained in:
parent
b1ef98bc00
commit
643ec848f0
|
|
@ -1,12 +1,14 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "Set timezone to Berlin",
|
"name": "Set timezone to Berlin",
|
||||||
|
"become": true,
|
||||||
"community.general.timezone": {
|
"community.general.timezone": {
|
||||||
"name": "Europe/Berlin"
|
"name": "Europe/Berlin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Limit syslogs",
|
"name": "Limit syslogs",
|
||||||
|
"become": true,
|
||||||
"ansible.builtin.lineinfile": {
|
"ansible.builtin.lineinfile": {
|
||||||
"dest": "/etc/systemd/journald.conf",
|
"dest": "/etc/systemd/journald.conf",
|
||||||
"regexp": "^#?\\s*SystemMaxFileSize",
|
"regexp": "^#?\\s*SystemMaxFileSize",
|
||||||
|
|
@ -25,6 +27,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Set vim as default editor",
|
"name": "Set vim as default editor",
|
||||||
|
"become": true,
|
||||||
"community.general.alternatives": {
|
"community.general.alternatives": {
|
||||||
"name": "editor",
|
"name": "editor",
|
||||||
"path": "/usr/bin/vim.basic"
|
"path": "/usr/bin/vim.basic"
|
||||||
|
|
@ -32,6 +35,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Disable root login without key",
|
"name": "Disable root login without key",
|
||||||
|
"become": true,
|
||||||
"ansible.builtin.lineinfile": {
|
"ansible.builtin.lineinfile": {
|
||||||
"dest": "/etc/ssh/sshd_config",
|
"dest": "/etc/ssh/sshd_config",
|
||||||
"regexp": "^#?PermitRootLogin ",
|
"regexp": "^#?PermitRootLogin ",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue