Skip to content

Commit 34bf5d9

Browse files
committed
Check where mysql fails
1 parent 0a3cf74 commit 34bf5d9

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ansible-deployments.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
uses: actions/checkout@v2
1818
- name: Install ansible lint tools
1919
run: sudo apt update; sudo apt install ansible
20+
- name: install package
21+
run: sudo apt update; sudo apt install mariadb-server
22+
- name: install package
23+
run: sudo apt update; sudo apt install python3-mysqldb
24+
- name: install package
25+
run: sudo apt update; sudo apt install mycli
2026
- name: Setup the hosts file
2127
working-directory: ./icpc-wf/ansible
2228
run: sed -i 's/\[${{ matrix.role }}\]/[removed]/g' hosts; printf '\n[${{ matrix.role }}]\ngithub-action\tansible_host=localhost ansible_connection=local' >> hosts

icpc-wf/ansible/domserver.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
tags: domjudge_user
2525
- role: ssh
2626
tags: ssh
27-
#- role: mysql_server
28-
# tags: mysql_server
27+
- role: mysql_server
28+
tags: mysql_server
2929
#- role: domjudge_checkout
3030
# tags: domjudge_checkout
3131
#- role: domjudge_build

0 commit comments

Comments
 (0)