Merge pull request #19 from exploide/package-install

Install Certbot with package
This commit is contained in:
Jeff Geerling
2017-04-04 21:36:52 -05:00
committed by GitHub
13 changed files with 111 additions and 41 deletions
+23
View File
@@ -0,0 +1,23 @@
---
- hosts: all
vars:
certbot_install_from_source: yes
pre_tasks:
- name: Update apt cache.
apt: update_cache=yes cache_valid_time=600
when: ansible_os_family == 'Debian'
changed_when: false
- name: Install cron (RedHat).
yum: name=cronie state=present
when: ansible_os_family == 'RedHat'
- name: Install cron (Debian).
apt: name=cron state=present
when: ansible_os_family == 'Debian'
roles:
- geerlingguy.git
- role_under_test
-1
View File
@@ -16,5 +16,4 @@
when: ansible_os_family == 'Debian'
roles:
- geerlingguy.git
- role_under_test