Commit e18249b8 authored by Jürgen Haas's avatar Jürgen Haas

Improved scripts to collect db dump or assets from a Drupal site

parent 26a716aa
......@@ -3,15 +3,15 @@
description: Archive and download Drupal assets
cli:
arguments:
- name: host
- name: siteproject
default: no
help: The hostname of the Drupal site
- name: site
default: no
help: The id of a site
help: The namespace and project name of a site
- name: archivefilename
default: no
help: The filename of the downloaded archive file
- name: branch
default: no
help: The branch from which to dump the database
arguments:
playbook: role
roles_exclude:
......@@ -23,17 +23,17 @@ arguments:
- jailkit
command:
- name: extra-vars
value: 'hostslimit=%s'
args:
- host
- name: extra-vars
value: 'limit_site=%s'
value: 'siteproject=%s'
args:
- site
- siteproject
- name: extra-vars
value: 'download_file=%s'
args:
- archivefilename
- name: extra-vars
value: 'branch=%s'
args:
- branch
- name: extra-vars
value: 'role=drupal'
- name: extra-vars
......
......@@ -3,15 +3,15 @@
description: Dump and download Drupal database
cli:
arguments:
- name: host
- name: siteproject
default: no
help: The hostname of the Drupal site
- name: site
default: no
help: The id of a site
help: The namespace and project name of a site
- name: dumpfilename
default: no
help: The filename of the downloaded dump file
- name: branch
default: no
help: The branch from which to dump the database
arguments:
playbook: role
roles_exclude:
......@@ -23,17 +23,17 @@ arguments:
- jailkit
command:
- name: extra-vars
value: 'hostslimit=%s'
args:
- host
- name: extra-vars
value: 'limit_site=%s'
value: 'siteproject=%s'
args:
- site
- siteproject
- name: extra-vars
value: 'download_file=%s'
args:
- dumpfilename
- name: extra-vars
value: 'branch=%s'
args:
- branch
- name: extra-vars
value: 'role=drupal'
- name: extra-vars
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment