Skip to content

Commit 69c06f6

Browse files
committedApr 5, 2020
Adds PuMySQL that is required, and installs it for Database node
1 parent 59b98ed commit 69c06f6

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed
 

‎group_vars/all.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1442,6 +1442,7 @@ mageops_packages_base:
14421442
- python2-pip
14431443
- python36-mysql
14441444
- MySQL-python
1445+
- python2-PyMySQL
14451446
- unzip
14461447
- yum-utils
14471448
- git

‎requirements-python.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ netaddr
1414

1515
# needed for managing databases (e.g. creating project db in infra step)
1616
mysql
17+
PyMySQL
1718

1819
# needed for running docker (e.g. building aws lambda artifacts)
1920
docker-py
@@ -25,4 +26,4 @@ awscli
2526
PyYAML<5.3
2627

2728
# required for `cs.ansible-plugins` role
28-
jq
29+
jq

‎site.step-11-infrastructure.yml

+5
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@
55

66
- hosts: database
77
roles:
8+
- role: cs.packages
9+
810
- role: cs.mysql
911
mysql_root_user: "{{ mageops_mysql_root_user }}"
1012
mysql_root_pass: "{{ mageops_mysql_root_pass }}"
1113
when: mageops_mysql_create
1214

1315
- role: cs.mysql-configure
1416
when: mageops_mysql_host is defined
17+
18+
vars:
19+
packages_install: "{{ mageops_packages_common }}"

0 commit comments

Comments
 (0)
Please sign in to comment.