Add all files needed to bring up VM and run agaric.com locally
This commit is contained in:
parent
52c8b60bac
commit
4d2bc0ee24
742 changed files with 24037 additions and 0 deletions
22
provisioning/drutopia/roles/drupal/tasks/deploy.yml
Normal file
22
provisioning/drutopia/roles/drupal/tasks/deploy.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
- set_fact:
|
||||
dest: "{{ ansible_user }}@{{ ansible_fqdn }}:{{ web_dir }}"
|
||||
|
||||
- name: ensure {{ web_dir }} exists
|
||||
file:
|
||||
path: "{{ web_dir }}"
|
||||
state: directory
|
||||
owner: "{{ ansible_user }}"
|
||||
group: "{{ ansible_user }}"
|
||||
mode: "0755"
|
||||
|
||||
# - name: sync migrate folder
|
||||
# local_action: command rsync -rz --delete {{ build_dir }}/migrate/ {{ dest }}/migrate/
|
||||
|
||||
- name: sync vendor folder
|
||||
local_action: command rsync -rz --delete --links {{ build_dir }}/vendor/ {{ dest }}/vendor/
|
||||
|
||||
- name: sync config folder
|
||||
local_action: command rsync -rz --delete {{ build_dir }}/config/ {{ dest }}/config/
|
||||
|
||||
- name: sync web folder
|
||||
local_action: command rsync -rz --delete --exclude sites/default/files {{ build_dir }}/web/ {{ dest }}/web/
|
Loading…
Add table
Add a link
Reference in a new issue