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

Non-Interactive Deployment #7

Open
heywoodlh opened this issue Jun 26, 2019 · 5 comments
Open

Non-Interactive Deployment #7

heywoodlh opened this issue Jun 26, 2019 · 5 comments

Comments

@heywoodlh
Copy link

First off, thanks for a great project.

I'm working on Ansible playbooks to deploy Redcloud. Is there a way to deploy Redcloud on a remote machine without requiring user interaction? Not using the menu, but rather supplying all the configuration via a config file or arguments to redcloud.py.

My desired workflow is to non-interactively git clone the repository and run python redcloud.py/installing without a dialog.

Anyway, any suggestions would be great!

@khast3x
Copy link
Owner

khast3x commented Jun 27, 2019

Hello, thank you for checking Redcloud out.
I have not yet planned when I will be adding new features to Redcloud, but arguments or config fold were part of the potential new feature. Is that what you had in mind?
Cheers!

@heywoodlh
Copy link
Author

Yep, some way to pass the configuration to RedCloud without requiring user interaction just to get it running would be awesome (arguments or a config file).

Btw, most of my fellow security analysts on my team and myself have been playing with RedCloud over the past few days and we think we'll probably add it to our pen-testing kit. It's a great tool!

@khast3x
Copy link
Owner

khast3x commented Jun 29, 2019

Oh wow what nice feedback to read, thanks!
I'll keep this issue opened until I find the time to add this.
Cheers!

@heywoodlh
Copy link
Author

Hey actually, I just decided to docker-compose build and docker-compose up the RedCloud installation and that worked perfectly fine. Here are the Ansible tasks for it (for the record):

---
- name: git clone https://github.com/khast3x/Redcloud.git /opt/redcloud
  git:
    repo: https://github.com/khast3x/Redcloud.git
    dest: /opt/redcloud
  become: true
- name: mkdir -p /opt/portainer/data
  file:
    path: /opt/portainer/data
    state: directory
  become: true
- name: docker-compose build && docker-compose up in /opt/redcloud
  docker_compose:
    build: yes
    project_src: /opt/redcloud/ 
  become: true

For my purposes running docker-compose is sufficient for what I need so if you want to close this issue you totally can.

@khast3x
Copy link
Owner

khast3x commented Jul 3, 2019

Smart workaround. Glad to know.
I'll keep the issue opened, it's on the todo list anyway.
Cheers!

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

2 participants