galaxyproject / usegalaxy-playbook

Ansible Playbook for usegalaxy.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

do we want to include these certbot role files?

martenson opened this issue · comments

I was doing playbook role reinstallation and some stuff from the certbot role got pulled, do we want this? For now I removed it here

diff --git a/roles/usegalaxy-eu.certbot/tasks/include-vars.yml b/roles/usegalaxy-eu.certbot/tasks/include-vars.yml
new file mode 100644
index 00000000..0a70e503
--- /dev/null
+++ b/roles/usegalaxy-eu.certbot/tasks/include-vars.yml
@@ -0,0 +1,8 @@
+---
+- name: Load a variable file based on the OS type, or a default if not found.
+  include_vars: "{{ item }}"
+  with_first_found:
+    - "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
+    - "{{ ansible_distribution }}.yml"
+    - "{{ ansible_os_family }}.yml"
+    - "default.yml"
diff --git a/roles/usegalaxy-eu.certbot/vars/default.yml b/roles/usegalaxy-eu.certbot/vars/default.yml
new file mode 100644
index 00000000..d88f2dc5
--- /dev/null
+++ b/roles/usegalaxy-eu.certbot/vars/default.yml
@@ -0,0 +1,2 @@
+---
+certbot_package: certbot