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

Allow prompt-less install on low-resource systems #5804

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

Ayowel
Copy link

@Ayowel Ayowel commented Mar 26, 2024

Make it possible to generate config unattended on low resource systems by bypassing prompts if SKIP_SOLR or SKIP_CLAMD is non-empty.
This was tested with the mailcow-ansiblerole repository with the following patch:

diff --git a/tasks/main.yml b/tasks/main.yml
index a1263f2..bf8825a 100755
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -28,6 +28,8 @@
     MAILCOW_HOSTNAME: "{{ mailcow__hostname }}"
     MAILCOW_TZ: "{{ mailcow__timezone }}"
     MAILCOW_BRANCH: "{{ mailcow__git_version }}"
+    SKIP_SOLR: "{{ mailcow__config_skip_solr }}"
+    SKIP_CLAMD: "{{ mailcow__config_skip_clamd }}"
   args:
     executable: /bin/bash
     chdir: "{{ mailcow__install_path }}"

@milkmaker
Copy link
Collaborator

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label May 25, 2024
@Ayowel
Copy link
Author

Ayowel commented May 26, 2024

This is not stale, please review/comment

@milkmaker milkmaker removed the stale Please update the issue with current status, unclear if it's still open/needed. label May 26, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants