Fix Ansible lint issues.

pull/62/head
Jeff Geerling 6 years ago
parent 0611410c3b
commit 53b02421c0
  1. 2
      README.md
  2. 1
      molecule/default/playbook-source-install.yml
  3. 3
      molecule/default/playbook.yml

@ -15,7 +15,7 @@ Generally, installing from source (see section `Source Installation from Git`) l
The variable `certbot_install_from_source` controls whether to install Certbot from Git or package management. The latter is the default, so the variable defaults to `no`.
certbot_auto_renew: true
certbot_auto_renew_user: "{{ ansible_user }}"
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"

@ -5,6 +5,7 @@
vars:
certbot_install_from_source: true
certbot_auto_renew_user: root
pre_tasks:
- name: Update apt cache.

@ -3,6 +3,9 @@
hosts: all
become: true
vars:
certbot_auto_renew_user: root
pre_tasks:
- name: Update apt cache.
apt: update_cache=yes cache_valid_time=600

Loading…
Cancel
Save