better formatting
Dieser Commit ist enthalten in:
Ursprung
855b1c0466
Commit
2671cb7401
|
@ -2,16 +2,9 @@
|
||||||
import pathlib
|
import pathlib
|
||||||
from typing import List, Optional
|
from typing import List, Optional
|
||||||
|
|
||||||
from ansible_module.generic import (
|
from ansible_module.generic import SYSTEMD_NETWORK_CONFIG, Types, joindict, modspec, systemdbool
|
||||||
SYSTEMD_NETWORK_CONFIG,
|
|
||||||
Types,
|
|
||||||
joindict,
|
|
||||||
modspec,
|
|
||||||
systemdbool,
|
|
||||||
)
|
|
||||||
from ansible_module.module import SystemdUnitModule
|
from ansible_module.module import SystemdUnitModule
|
||||||
|
|
||||||
|
|
||||||
kinds = (
|
kinds = (
|
||||||
"bond",
|
"bond",
|
||||||
"bridge",
|
"bridge",
|
||||||
|
|
|
@ -114,7 +114,7 @@ class Module(SystemdUnitModule, SystemdReloadMixin):
|
||||||
execpath="ExecPaths",
|
execpath="ExecPaths",
|
||||||
noexecpath="NoExecPaths",
|
noexecpath="NoExecPaths",
|
||||||
statedirectory="StateDirectory",
|
statedirectory="StateDirectory",
|
||||||
nonewprivileges="NoNewPriviledges"
|
nonewprivileges="NoNewPriviledges",
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
section += "".join(params)
|
section += "".join(params)
|
||||||
|
|
Laden…
In neuem Issue referenzieren