diff --git a/meta/.galaxy_install_info b/meta/.galaxy_install_info new file mode 100644 index 0000000..5ab1bab --- /dev/null +++ b/meta/.galaxy_install_info @@ -0,0 +1 @@ +{install_date: 'Tue Jul 4 10:56:19 2017', version: 2.0.0} diff --git a/tasks/install-with-package.yml b/tasks/install-with-package.yml index 10490ff..bae8d09 100644 --- a/tasks/install-with-package.yml +++ b/tasks/install-with-package.yml @@ -1,6 +1,7 @@ --- - name: Install Certbot. - package: "name={{ certbot_package }} state=present" + package: "name={{ item }} state=present" + with_items: "{{ certbot_package }}" - name: Set Certbot script variable. set_fact: diff --git a/vars/Ubuntu-16.04.yml b/vars/Ubuntu-16.04.yml index 90e9138..c6db23a 100644 --- a/vars/Ubuntu-16.04.yml +++ b/vars/Ubuntu-16.04.yml @@ -1 +1,2 @@ -certbot_package: letsencrypt +certbot_package: + - letsencrypt diff --git a/vars/default.yml b/vars/default.yml index d88f2dc..135e69e 100644 --- a/vars/default.yml +++ b/vars/default.yml @@ -1,2 +1,5 @@ --- -certbot_package: certbot +certbot_package: + - certbot + - certbot-apache + - certbot-nginx