Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do we want to include these certbot role files? #372

Open
martenson opened this issue Mar 1, 2023 · 0 comments
Open

do we want to include these certbot role files? #372

martenson opened this issue Mar 1, 2023 · 0 comments

Comments

@martenson
Copy link
Member

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant