├── .gitignore ├── README.md ├── ansible.cfg ├── do.sh ├── files ├── README.md ├── configuration │ ├── .bashrc │ ├── apache-production.conf │ ├── apache-staging.conf │ ├── aws-config │ ├── html5_boilerplate.conf │ ├── my.cnf │ ├── php-production.conf │ └── php-staging.conf ├── credentials │ ├── aws-credentials │ ├── htpasswd-production │ ├── htpasswd-staging │ └── my.cnf └── scripts │ └── backup-to-s3.sh ├── group_vars ├── README.md ├── all.yaml ├── production.yaml └── staging.yaml ├── hosts ├── play ├── README.md ├── carefully-deploy-dev-db.yaml ├── clear-caches.yaml ├── deploy-dev-code.yaml ├── deploy-git.yaml ├── pull-db.yaml ├── setup-server.yaml ├── system-off.yaml ├── system-on.yaml └── test-a-role.yaml ├── production.sh ├── roles ├── README.md ├── clean-up │ └── tasks │ │ └── main.yaml ├── clear-caches │ └── tasks │ │ └── main.yaml ├── create-release-folders │ └── tasks │ │ └── create-release-folders.yaml ├── deploy-dev │ └── tasks │ │ └── main.yaml ├── deploy-git │ └── tasks │ │ └── main.yaml ├── gulp-build │ └── tasks │ │ └── main.yaml ├── pull-production-db │ └── tasks │ │ └── main.yaml ├── push-local-db │ └── tasks │ │ └── main.yaml ├── release │ └── tasks │ │ └── main.yaml ├── restart-all-services │ └── tasks │ │ └── main.yaml ├── rollbar-log-deployment │ └── tasks │ │ └── main.yaml ├── setup-install-imagemagick │ └── tasks │ │ └── main.yaml ├── setup-install-nodejs-gulp │ └── tasks │ │ └── main.yaml ├── setup-install-python-mysqldb │ └── tasks │ │ └── main.yaml ├── setup-letsencrypt │ └── tasks │ │ └── main.yaml ├── setup-server-backups │ └── tasks │ │ └── main.yaml ├── setup-server-general │ └── tasks │ │ └── main.yaml └── system-control │ └── tasks │ └── main.yaml └── staging.sh /.gitignore: -------------------------------------------------------------------------------- 1 | *.retry 2 | .tmp 3 | 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/README.md -------------------------------------------------------------------------------- /ansible.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/ansible.cfg -------------------------------------------------------------------------------- /do.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/do.sh -------------------------------------------------------------------------------- /files/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/files/README.md -------------------------------------------------------------------------------- /files/configuration/.bashrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/files/configuration/.bashrc -------------------------------------------------------------------------------- /files/configuration/apache-production.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/files/configuration/apache-production.conf -------------------------------------------------------------------------------- /files/configuration/apache-staging.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/files/configuration/apache-staging.conf -------------------------------------------------------------------------------- /files/configuration/aws-config: -------------------------------------------------------------------------------- 1 | [default] 2 | region = whatever 3 | -------------------------------------------------------------------------------- /files/configuration/html5_boilerplate.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/files/configuration/html5_boilerplate.conf -------------------------------------------------------------------------------- /files/configuration/my.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/files/configuration/my.cnf -------------------------------------------------------------------------------- /files/configuration/php-production.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/files/configuration/php-production.conf -------------------------------------------------------------------------------- /files/configuration/php-staging.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/files/configuration/php-staging.conf -------------------------------------------------------------------------------- /files/credentials/aws-credentials: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/files/credentials/aws-credentials -------------------------------------------------------------------------------- /files/credentials/htpasswd-production: -------------------------------------------------------------------------------- 1 | prod:whatever -------------------------------------------------------------------------------- /files/credentials/htpasswd-staging: -------------------------------------------------------------------------------- 1 | staging:whatever 2 | -------------------------------------------------------------------------------- /files/credentials/my.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/files/credentials/my.cnf -------------------------------------------------------------------------------- /files/scripts/backup-to-s3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/files/scripts/backup-to-s3.sh -------------------------------------------------------------------------------- /group_vars/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/group_vars/README.md -------------------------------------------------------------------------------- /group_vars/all.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/group_vars/all.yaml -------------------------------------------------------------------------------- /group_vars/production.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/group_vars/production.yaml -------------------------------------------------------------------------------- /group_vars/staging.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/group_vars/staging.yaml -------------------------------------------------------------------------------- /hosts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/hosts -------------------------------------------------------------------------------- /play/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/play/README.md -------------------------------------------------------------------------------- /play/carefully-deploy-dev-db.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/play/carefully-deploy-dev-db.yaml -------------------------------------------------------------------------------- /play/clear-caches.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/play/clear-caches.yaml -------------------------------------------------------------------------------- /play/deploy-dev-code.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/play/deploy-dev-code.yaml -------------------------------------------------------------------------------- /play/deploy-git.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/play/deploy-git.yaml -------------------------------------------------------------------------------- /play/pull-db.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/play/pull-db.yaml -------------------------------------------------------------------------------- /play/setup-server.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/play/setup-server.yaml -------------------------------------------------------------------------------- /play/system-off.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/play/system-off.yaml -------------------------------------------------------------------------------- /play/system-on.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/play/system-on.yaml -------------------------------------------------------------------------------- /play/test-a-role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/play/test-a-role.yaml -------------------------------------------------------------------------------- /production.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/production.sh -------------------------------------------------------------------------------- /roles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/README.md -------------------------------------------------------------------------------- /roles/clean-up/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/clean-up/tasks/main.yaml -------------------------------------------------------------------------------- /roles/clear-caches/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/clear-caches/tasks/main.yaml -------------------------------------------------------------------------------- /roles/create-release-folders/tasks/create-release-folders.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/create-release-folders/tasks/create-release-folders.yaml -------------------------------------------------------------------------------- /roles/deploy-dev/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/deploy-dev/tasks/main.yaml -------------------------------------------------------------------------------- /roles/deploy-git/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/deploy-git/tasks/main.yaml -------------------------------------------------------------------------------- /roles/gulp-build/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/gulp-build/tasks/main.yaml -------------------------------------------------------------------------------- /roles/pull-production-db/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/pull-production-db/tasks/main.yaml -------------------------------------------------------------------------------- /roles/push-local-db/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/push-local-db/tasks/main.yaml -------------------------------------------------------------------------------- /roles/release/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/release/tasks/main.yaml -------------------------------------------------------------------------------- /roles/restart-all-services/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/restart-all-services/tasks/main.yaml -------------------------------------------------------------------------------- /roles/rollbar-log-deployment/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/rollbar-log-deployment/tasks/main.yaml -------------------------------------------------------------------------------- /roles/setup-install-imagemagick/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/setup-install-imagemagick/tasks/main.yaml -------------------------------------------------------------------------------- /roles/setup-install-nodejs-gulp/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/setup-install-nodejs-gulp/tasks/main.yaml -------------------------------------------------------------------------------- /roles/setup-install-python-mysqldb/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/setup-install-python-mysqldb/tasks/main.yaml -------------------------------------------------------------------------------- /roles/setup-letsencrypt/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/setup-letsencrypt/tasks/main.yaml -------------------------------------------------------------------------------- /roles/setup-server-backups/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/setup-server-backups/tasks/main.yaml -------------------------------------------------------------------------------- /roles/setup-server-general/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/setup-server-general/tasks/main.yaml -------------------------------------------------------------------------------- /roles/system-control/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/roles/system-control/tasks/main.yaml -------------------------------------------------------------------------------- /staging.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bossanova808/CraftAnsible/HEAD/staging.sh --------------------------------------------------------------------------------