diff --git a/tasks/install.yml b/tasks/install.yml index 8ef1d96aef2bde325f474e67b4cc2ac9f25742c0..31b99d26e55c8bb5b8e4c35cfa4ca1166a5bf516 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -17,3 +17,10 @@ pkg: 'certbot' state: 'present' update_cache: yes + +- name: "" + lineinfile: + path: '/usr/local/bin/certbot' + regexp: '^#!/usr/bin/python$' + line: '#!/usr/bin/python3' + ignore_errors: yes