setup the db schema during install
This commit is contained in:
parent
8f06cbb62b
commit
77f03a8729
@ -44,9 +44,9 @@ rally_bin: "{{ rally_venv_bin }}"
|
|||||||
rally_venv_download_url: http://127.0.0.1/venvs/untagged/ubuntu/rally.tgz
|
rally_venv_download_url: http://127.0.0.1/venvs/untagged/ubuntu/rally.tgz
|
||||||
|
|
||||||
# Database vars
|
# Database vars
|
||||||
rally_galera_database_name: rally_service
|
rally_galera_database: rally
|
||||||
rally_galera_user: rally
|
rally_galera_user: rally
|
||||||
rally_database_connection_string: mysql+pymysql://{{ rally_galera_user }}:{{ rally_galera_password }}@{{ rally_galera_address }}/{{ rally_galera_database_name }}?charset=utf8
|
rally_database_connection_string: mysql+pymysql://{{ rally_galera_user }}:{{ rally_galera_password }}@{{ rally_galera_address }}/{{ rally_galera_database }}?charset=utf8
|
||||||
|
|
||||||
rally_apt_packages:
|
rally_apt_packages:
|
||||||
- build-essential
|
- build-essential
|
||||||
|
@ -12,3 +12,6 @@
|
|||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
- name: Create/upgrade Rally DB schema
|
||||||
|
command: "{{ rally_bin }}/rally-manage db upgrade"
|
Loading…
x
Reference in New Issue
Block a user