[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,
|
type = str,
|
||||||
dest = "conf_path",
|
dest = "conf_path",
|
||||||
metavar = "<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(
|
argument_parser.add_argument(
|
||||||
type = str,
|
type = str,
|
||||||
|
|
@ -36,20 +36,20 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tools | tls-renew | script",
|
"name": "tools | tls-get | script",
|
||||||
"become": true,
|
"become": true,
|
||||||
"ansible.builtin.file": {
|
"ansible.builtin.file": {
|
||||||
"src": "tls-renew",
|
"src": "tls-get",
|
||||||
"dest": "/usr/local/bin/tls-renew",
|
"dest": "/usr/local/bin/tls-get",
|
||||||
"mode": "a+x"
|
"mode": "a+x"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tools | tls-renew | conf",
|
"name": "tools | tls-get | conf",
|
||||||
"become": true,
|
"become": true,
|
||||||
"ansible.builtin.template": {
|
"ansible.builtin.template": {
|
||||||
"src": "tls-renew-conf.json.j2",
|
"src": "tls-get-conf.json.j2",
|
||||||
"dest": "/root/.tls-renew-conf.json"
|
"dest": "/root/.tls-get-conf.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -82,14 +82,14 @@
|
||||||
"day": "1",
|
"day": "1",
|
||||||
"month": "*",
|
"month": "*",
|
||||||
"weekday": "*",
|
"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",
|
"name": "run",
|
||||||
"become": true,
|
"become": true,
|
||||||
"ansible.builtin.shell": {
|
"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