ansible-role-certbot/tasks/install-with-package.yml

11 lines
217 B
YAML

---
- name: Install Certbot.
package:
name: "{{ item }}"
state: present
with_items: "{{ certbot_package }}"
- name: Set Certbot script variable.
set_fact:
certbot_script: "{{ certbot_package[0] }}"