Skip to main content

app-simplenode

This currated role contains content for the demo application "Simplenodeservice". When included, a new repository will be created

Using the role

Deploying app-simplenodeservice

VarRequiredDescription
git_usernameRequiredUsername for your VCS (version control system).
git_passwordRequiredPassword for your VCS.
git_org_nameRequiredOrganization/Grouping in your VCS.
repo_nameRequiredRepository name will be used to create/sync with a repository in you VCS, as well as to set up the repository locally in the /repos folder.
git_remoteConditionally requiredSpecifies which remote to use. Supported values are "gitea" or "gitlab", the ACE-Box internal VCSs. Either git_remote or git_endpoint is required.
git_endpointConditionally requiredSpecifies the endpopint to use, without protocol, for example "github.com". This value will be used in combination with git_org_name and repo_name will to sync repositories. Either git_remote or git_endpoint is required.
app_simplenode_overwritesOptionalAllows you to overwrite certain simplenode resources before the repository is set up. Value needs to be a list ob objects. Each object is required to contain at least a "dest" key and value. See example below.

Example:

- include_role:
name: app-simplenode
vars:
git_username: "ace"
git_password: "supersecret"
git_remote: "gitea"
git_org_name: "demo"
repo_name: "simplenode"
app_simplenode_overwrites:
# Ignores demo/ folder:
- dest: demo/
# Substitutes monaco/ folder with specified src:
- dest: monaco/
src: '{{ playbook_dir }}/roles/demo-ar-workflows-ansible/files/monaco/'

Role Requirements

This role depends on the following roles to be deployed beforehand:

- include_role:
name: microk8s