[int]
This commit is contained in:
parent
52e14d8f8d
commit
326296d6ce
|
|
@ -9,21 +9,7 @@
|
||||||
"storage": {
|
"storage": {
|
||||||
"kind": "sqlite",
|
"kind": "sqlite",
|
||||||
"data": {
|
"data": {
|
||||||
"sqlite": {
|
|
||||||
"path": "/var/authelia/state.db"
|
"path": "/var/authelia/state.db"
|
||||||
},
|
|
||||||
"postgresql": {
|
|
||||||
"host": "localhost",
|
|
||||||
"port": 5432,
|
|
||||||
"username": "authelia_user",
|
|
||||||
"schema": "authelia"
|
|
||||||
},
|
|
||||||
"mariadb": {
|
|
||||||
"host": "localhost",
|
|
||||||
"port": 3306,
|
|
||||||
"username": "authelia_user",
|
|
||||||
"schema": "authelia"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ntp_server": "time.cloudflare.com:123",
|
"ntp_server": "time.cloudflare.com:123",
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ufw | check",
|
"name": "ufw",
|
||||||
|
"block": [
|
||||||
|
{
|
||||||
|
"name": "check",
|
||||||
"become": true,
|
"become": true,
|
||||||
"check_mode": true,
|
"check_mode": true,
|
||||||
"community.general.ufw": {
|
"community.general.ufw": {
|
||||||
|
|
@ -46,7 +49,7 @@
|
||||||
"register": "ufw_enable_check"
|
"register": "ufw_enable_check"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ufw | allow port 80",
|
"name": "allow port 80",
|
||||||
"when": "not ufw_enable_check.changed",
|
"when": "not ufw_enable_check.changed",
|
||||||
"become": true,
|
"become": true,
|
||||||
"community.general.ufw": {
|
"community.general.ufw": {
|
||||||
|
|
@ -56,7 +59,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ufw | allow port 443",
|
"name": "allow port 443",
|
||||||
"when": "not ufw_enable_check.changed",
|
"when": "not ufw_enable_check.changed",
|
||||||
"become": true,
|
"become": true,
|
||||||
"community.general.ufw": {
|
"community.general.ufw": {
|
||||||
|
|
@ -65,6 +68,8 @@
|
||||||
"proto": "tcp"
|
"proto": "tcp"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "auto reload",
|
"name": "auto reload",
|
||||||
"when": "cfg_nginx.auto_reload_interval == None",
|
"when": "cfg_nginx.auto_reload_interval == None",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue