Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

CLI wrapper #6

Closed
saitho opened this issue Aug 13, 2020 · 0 comments
Closed

CLI wrapper #6

saitho opened this issue Aug 13, 2020 · 0 comments

Comments

@saitho
Copy link
Member

saitho commented Aug 13, 2020

A CLI wrapper can make it easier to use StackHead, especially when modularity comes into play.
This would also allow to have a non-Ansible bound StackHead configuration file separate from the Ansible inventory.

Possible commands:

  • stackhead setup: Setup single server (server-provision.yml)
  • stackhead check: Check versions on a server (server-check.yml)
  • stackhead deploy: Deploy a single project (application-deploy.yml)
  • stackhead destroy: Destroy a single project (application-destroy.yml)
  • stackhead init: Initialize StackHead dependencies from StackHead configuration file
  • stackhead validate: Validate a project definition file

StackHead configuration file

Allows configuring the webserver and container to use.
Default values of those will be set on CLI level, removing the dependencies from the Ansible role.

Running stackhead init will install all requirements and roles. Requires Ansible to already be installed!

@saitho saitho closed this as completed Sep 9, 2020
@saitho saitho transferred this issue from getstackhead/stackhead Dec 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

No branches or pull requests

1 participant