Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 7cb87ae

Browse files
committed
Fix broken test on CentOS 7.
1 parent dc2cf41 commit 7cb87ae

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ script:
5858
# Ansible syntax check.
5959
- 'docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook ${DRUPALVM_DIR}/provisioning/playbook.yml --syntax-check'
6060

61+
# Run the test setup playbook with ansible-playbook.
62+
- 'docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook ${DRUPALVM_DIR}/provisioning/test-setup.yml'
63+
6164
# Run the playbook with ansible-playbook.
6265
- >
6366
if [ ! -z "${config_dir}" ]; then

tests/test-setup.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
- hosts: all
3+
become: yes
4+
5+
tasks:
6+
- name: Install test dependencies (RedHat).
7+
package: name=logrotate state=present
8+
when: ansible_os_family == 'RedHat'

0 commit comments

Comments
 (0)