[mod] role:tlscert_acme_inwx:rename tls-renew to tls-get
This commit is contained in:
parent
7b3d5829ae
commit
9806adb9ab
|
|
@ -22,7 +22,7 @@ def main():
|
|||
type = str,
|
||||
dest = "conf_path",
|
||||
metavar = "<conf-path>",
|
||||
default = _os.path.join(_os.environ["HOME"], ".tls-renew-conf.json"),
|
||||
default = _os.path.join(_os.environ["HOME"], ".tls-get-conf.json"),
|
||||
)
|
||||
argument_parser.add_argument(
|
||||
type = str,
|
||||
|
|
@ -36,20 +36,20 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"name": "tools | tls-renew | script",
|
||||
"name": "tools | tls-get | script",
|
||||
"become": true,
|
||||
"ansible.builtin.file": {
|
||||
"src": "tls-renew",
|
||||
"dest": "/usr/local/bin/tls-renew",
|
||||
"src": "tls-get",
|
||||
"dest": "/usr/local/bin/tls-get",
|
||||
"mode": "a+x"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "tools | tls-renew | conf",
|
||||
"name": "tools | tls-get | conf",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "tls-renew-conf.json.j2",
|
||||
"dest": "/root/.tls-renew-conf.json"
|
||||
"src": "tls-get-conf.json.j2",
|
||||
"dest": "/root/.tls-get-conf.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -82,14 +82,14 @@
|
|||
"day": "1",
|
||||
"month": "*",
|
||||
"weekday": "*",
|
||||
"job": "echo '/usr/local/bin/tls-renew --conf-path=/root/.tls-renew-conf.json {{var_tlscert_acme_inwx_domain_path}}.{{var_tlscert_acme_inwx_domain_base}} --target-directory={{var_tlscert_acme_inwx_ssl_directory}}' > /var/pseudoqueue"
|
||||
"job": "echo '/usr/local/bin/tls-get --conf-path=/root/.tls-get-conf.json {{var_tlscert_acme_inwx_domain_path}}.{{var_tlscert_acme_inwx_domain_base}} --target-directory={{var_tlscert_acme_inwx_ssl_directory}}' > /var/pseudoqueue"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "run",
|
||||
"become": true,
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "echo '/usr/local/bin/tls-renew --conf-path=/root/.tls-renew-conf.json {{var_tlscert_acme_inwx_domain_path}}.{{var_tlscert_acme_inwx_domain_base}} --target-directory={{var_tlscert_acme_inwx_ssl_directory}}' > /var/pseudoqueue"
|
||||
"cmd": "echo '/usr/local/bin/tls-get --conf-path=/root/.tls-get-conf.json {{var_tlscert_acme_inwx_domain_path}}.{{var_tlscert_acme_inwx_domain_base}} --target-directory={{var_tlscert_acme_inwx_ssl_directory}}' > /var/pseudoqueue"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue