mirror of
https://github.com/aljazceru/ansible-role-mysql.git
synced 2025-12-19 17:14:22 +01:00
Back to original settings. Something's funny with Travis CI.
This commit is contained in:
@@ -20,7 +20,7 @@ script:
|
|||||||
- "ansible-playbook -i tests/inventory tests/$SITE --syntax-check"
|
- "ansible-playbook -i tests/inventory tests/$SITE --syntax-check"
|
||||||
|
|
||||||
# Run the role/playbook with ansible-playbook.
|
# Run the role/playbook with ansible-playbook.
|
||||||
- "ansible-playbook -i tests/inventory tests/$SITE --connection=local --sudo -vvvv"
|
- "ansible-playbook -i tests/inventory tests/$SITE --connection=local --sudo"
|
||||||
|
|
||||||
# Run the role/playbook again, checking to make sure it's idempotent.
|
# Run the role/playbook again, checking to make sure it's idempotent.
|
||||||
- >
|
- >
|
||||||
|
|||||||
@@ -1,11 +1,5 @@
|
|||||||
---
|
---
|
||||||
# For some reason, 'service mysql restart' doesn't work sometimes.
|
|
||||||
- name: restart mysql
|
- name: restart mysql
|
||||||
command: "{{ item }}"
|
service: >
|
||||||
with_items:
|
name={{ mysql_daemon }}
|
||||||
- "service {{ mysql_daemon }} stop"
|
state=restarted
|
||||||
- "service {{ mysql_daemon }} start"
|
|
||||||
# - name: restart mysql
|
|
||||||
# service: >
|
|
||||||
# name={{ mysql_daemon }}
|
|
||||||
# state=restarted
|
|
||||||
|
|||||||
Reference in New Issue
Block a user