Skip to content

nymedia/ansible-drupal-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

Drupal Deploy with Ansble Playbooks

This repos contains self-contained playbooks to be used with AWS Systems Manager to deploy new versions of a Drupal project.

Playbook: deploy-git.yml

This playbook handles the deploy of git-based projects, which as of Feb 2023 is the current standard of NyMedia/Frontkom deploys. It can handle both tags and branches using git checkout.

Playbook's variables

Name Required Description Default
deploy_repo_root No Git repo root, absolute path "/var/www/html"
deploy_drupal_root No Drupal root dir, absolute path repo_root + "/drupal"
deploy_git_branch Yes* Branch name to deploy Undefined
deploy_git_tag Yes* Git tag to deploy Undefined
drush_sqldump_timeout No Timeout (in seconds) for the drush sql dump 60
git_repo_url No Git repository URL, if not provided will be fetched from repo_root Undefined

About deploy_git_branch and deploy_git_tag

One, and only one, MUST be defined for the playbook to work. If either both or none are defined the deployment will fail.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published