Fix syntax error with file module usage.

pull/146/head
Jeff Geerling 4 years ago
parent 0ba7078e8c
commit 56ba6ad847
  1. 3
      README.md
  2. 4
      tasks/install-with-snap.yml

@ -12,8 +12,9 @@ Generally, installing from source (see section `Source Installation from Git`) l
## Role Variables ## Role Variables
TODO. certbot_install_method: package
Controls how Certbot is installed. Available options are 'package', 'snap', and 'source'.
certbot_auto_renew: true certbot_auto_renew: true
certbot_auto_renew_user: "{{ ansible_user | default(lookup('env', 'USER')) }}" certbot_auto_renew_user: "{{ ansible_user | default(lookup('env', 'USER')) }}"

@ -11,7 +11,7 @@
- name: Enable classic snap support. - name: Enable classic snap support.
file: file:
source: /var/lib/snapd/snap src: /var/lib/snapd/snap
dest: /snap dest: /snap
state: link state: link
@ -22,6 +22,6 @@
- name: Symlink certbot into place. - name: Symlink certbot into place.
file: file:
source: /snap/bin/certbot src: /snap/bin/certbot
dest: /usr/bin/certbot dest: /usr/bin/certbot
state: link state: link

Loading…
Cancel
Save