Skip to content

Commit

Permalink
Merge pull request #11 from opendevshop/move-vars
Browse files Browse the repository at this point in the history
Move variables to defaults/main.yml so they can be overridden if needed.
  • Loading branch information
jonpugh authored Jan 8, 2019
2 parents 5583765 + f9f83f8 commit e88c483
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 28 deletions.
25 changes: 25 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,31 @@
server_hostname: local.devshop.site
devshop_devmaster_email: [email protected]

devshop_cli_repo: http://github.com/opendevshop/devshop.git
devshop_cli_update: yes
devshop_cli_path: /usr/share/devshop
devshop_devmaster_path: "{{ aegir_user_home }}/devmaster-{{ devshop_version }}"

devshop_makefile: "{{ devshop_cli_path }}/build-devmaster.make"
devshop_install_profile: devmaster
devshop_working_copy: --working-copy

aegir_server_webserver: apache
mysql_root_password_update: no

aegir_db_host: localhost
aegir_client_name: admin

supervisor_running: yes

drush_dl_method: wget

devshop_drush_packages:
provision: 7.x-3.170
registry_rebuild: 7.x-2.2

php_date_timezone: "America/New_York"

# You should specify your own random mysql_root_password in your own playbooks or inventory.
# mysql_root_password: PleaseRandomizeOnPlaybookRun

Expand Down
28 changes: 0 additions & 28 deletions vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1 @@
---
# vars file for aegir.devmaster

devshop_cli_repo: http://github.com/opendevshop/devshop.git
devshop_cli_update: yes
devshop_cli_path: /usr/share/devshop
devshop_devmaster_path: "{{ aegir_user_home }}/devmaster-{{ devshop_version }}"

devshop_makefile: "{{ devshop_cli_path }}/build-devmaster.make"
devshop_install_profile: devmaster
devshop_working_copy: --working-copy

aegir_server_webserver: apache
mysql_root_password_update: no

aegir_db_host: localhost
aegir_client_name: admin

supervisor_running: yes

#devmaster_install_command: "{{ local_bin_path }}/devshop devmaster:install --site={{ server_hostname }} --client_email={{ devshop_devmaster_email }} --devshop_version={{ devshop_version }} --aegir_db_pass={{ mysql_root_password }} --aegir_db_user={{ mysql_root_username }} --makefile={{ devshop_makefile }} --profile={{ devshop_install_profile }} --aegir_host={{ server_hostname }} --http_service_type={{ aegir_server_webserver }} --root=/var/aegir/devmaster-{{ devshop_version }} --drush-path={{ local_bin_path }}/drush {{ devshop_working_copy }} -n"

drush_dl_method: wget

devshop_drush_packages:
provision: 7.x-3.160
registry_rebuild: 7.x-2.2

php_date_timezone: "America/New_York"

0 comments on commit e88c483

Please sign in to comment.