Add ansible stuff

This commit is contained in:
Oliver Davies 2019-12-05 12:16:37 +00:00
parent bbb4a9c666
commit 23fcf88ad9
21 changed files with 319 additions and 0 deletions

View file

@ -0,0 +1,27 @@
---
ansistrano_allow_anonymous_stats: false
release_drupal_path: "{{ ansistrano_release_path.stdout }}/{{ project_web_root }}"
release_drush_path: "{{ ansistrano_release_path.stdout }}/vendor/bin/drush"
hash_salt: "{{ vault_hash_salt }}"
install_drupal: true
drupal_settings:
- drupal_root: '{{ release_drupal_path }}'
sites:
- name: default
settings:
databases:
default:
default:
driver: mysql
host: localhost
database: '{{ database_name }}'
username: '{{ database_user }}'
password: '{{ database_password }}'
hash_salt: '{{ hash_salt }}'
config_directories:
sync: ../config/sync
trusted_hosts:
- '^dransible$'

View file

@ -0,0 +1,7 @@
$ANSIBLE_VAULT;1.1;AES256
63373634663964363330343938303439626535386239363766353635663066383035343433356365
3563326664646666636436636462326436363964306439300a653630656239653566353666383764
30373163303633356361653436393135666131346430383766646261373636396138623636343238
3366616233323863370a666566383163303135313134656637393233366664303031663133343363
63343866643163393961323238623866366636363136373932303366346433343530373139373733
3738346466643464356663313637333331656163613433663930

View file

@ -0,0 +1,11 @@
---
server_document_root: '{{ project_deploy_path }}/{{ ansistrano_current_dir }}/{{ project_web_root }}'
apache_vhosts:
- servername: dransible
documentroot: '{{ server_document_root }}'
php_version: '7.4'
php_packages_extra:
- libapache2-mod-php{{ php_version }}
- libpcre3-dev

View file

@ -0,0 +1,10 @@
$ANSIBLE_VAULT;1.1;AES256
33373134393232666463613136333836646334376361306630643432373161373363306433633932
6637626266313264303734353136376439633939653837390a613631306563666663313361623136
33383463333062643331376530393964356161346164336434346366333061373166636531336436
3862316230366364630a616437356235626536376562303738653633316364353034636432666266
33346639373931396237333636656637663861386530373965323037633636373330353061666465
35313539343165643564376335303334353662346130343330343238623139386665363864386530
30633562396666633464666565626437343039636136653032323035333662666664656162326539
37363233646463363132343835656137343139613535323237346162636363396162343038303062
3132

View file

@ -0,0 +1,9 @@
---
ansistrano_current_dir: current
database_name: "{{ vault_database_name }}"
database_password: "{{ vault_database_password }}"
database_user: "{{ vault_database_user }}"
project_deploy_path: /app
project_web_root: web