From 09533d642956317f47aa7efb06b08e0af41a88c5 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Thu, 30 Mar 2023 15:23:45 +0200 Subject: [PATCH] Bump PonyConf venv too. --- ponyconf.yml | 6 ++++++ roles/nginx/tasks/main.yml | 1 + 2 files changed, 7 insertions(+) diff --git a/ponyconf.yml b/ponyconf.yml index 82e92e6..d6e1cec 100644 --- a/ponyconf.yml +++ b/ponyconf.yml @@ -99,6 +99,12 @@ dest: "{{ ponyconf_home }}/src/" notify: restart ponyconf + - name: Setup or upgrade venv + become: true + become_user: "{{ ponyconf_user }}" + command: python3 -m venv --upgrade-deps "{{ ponyconf_home }}/venv/" + changed_when: False + - name: Setup PonyConf venv become: true become_user: "{{ ponyconf_user }}" diff --git a/roles/nginx/tasks/main.yml b/roles/nginx/tasks/main.yml index e6943c5..03e1fb5 100644 --- a/roles/nginx/tasks/main.yml +++ b/roles/nginx/tasks/main.yml @@ -29,6 +29,7 @@ - "certbot<2" # See https://github.com/certbot/certbot/issues/9485 - "acme<2" # See https://github.com/certbot/certbot/issues/9485 - "certbot-plugin-gandi" + - "certbot-nginx" # In case there's a "certbot_authenticator == 'nginx'" - name: Setup Gandi credentials copy: