EDITD.git_application
ansible-git_application
A role for deploying applications from github
Actions
- Installs git
- Ensures an
application userexists - Ensures a
deploy_todirectory exists - Pulls the code to the
deploy_todirectory, with the ref you want.
Requirements
- SSH agent forwarding is enabled (for private github repos)
Role Variables
Below are all the variables used by the role, together an explanation, and their defaults.
git_application_deploy_to: The directory to deploy to -/opt/myapplicationgit_application_repo: The URL of the repo -[email protected]:mycompany/myapplication.gitgit_application_version: The branch / tag to deploy -mastergit_application_user: The user that will own the code -myusergit_application_group: The group the user will belong to -myusergroupgit_application_pull_from_git: Set to no if you want to skip this role entirely -yes
License
MIT
Install
ansible-galaxy install EDITD.git_applicationLicense
mit
Downloads
69
Owner
