From 199f94060414dd0e22de52886fce58c1baee47bf Mon Sep 17 00:00:00 2001 From: Mark Stosberg Date: Fri, 19 May 2023 17:39:05 -0400 Subject: [PATCH] remove deprecated --no-self-upgrade flag Including it will generate warnings --- README.md | 2 +- defaults/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b075f3a..6f4f554 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Controls how Certbot is installed. Available options are 'package', 'snap', and certbot_auto_renew_user: "{{ ansible_user | default(lookup('env', 'USER')) }}" certbot_auto_renew_hour: "3" certbot_auto_renew_minute: "30" - certbot_auto_renew_options: "--quiet --no-self-upgrade" + certbot_auto_renew_options: "--quiet" By default, this role configures a cron job to run under the provided user account at the given hour and minute, every day. The defaults run `certbot renew` (or `certbot-auto renew`) via cron every day at 03:30:00 by the user you use in your Ansible playbook. It's preferred that you set a custom user/hour/minute so the renewal is during a low-traffic period and done by a non-root user account. diff --git a/defaults/main.yml b/defaults/main.yml index bba711a..c0a9c1b 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -4,7 +4,7 @@ certbot_auto_renew: true certbot_auto_renew_user: "{{ ansible_user | default(lookup('env', 'USER')) }}" certbot_auto_renew_hour: "3" certbot_auto_renew_minute: "30" -certbot_auto_renew_options: "--quiet --no-self-upgrade" +certbot_auto_renew_options: "--quiet" certbot_testmode: false certbot_hsts: false