From 6bfdd214d6815af26818c4fe5ce07b38118541ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Sch=C3=B6ldstr=C3=B6m?= Date: Mon, 29 Feb 2016 23:29:34 -0500 Subject: [PATCH] fix tests --- tasks/configure.yml | 1 + tasks/setup-Debian.yml | 5 +++++ tasks/setup-RedHat.yml | 5 +++++ tests/test-source.yml | 3 +++ 4 files changed, 14 insertions(+) diff --git a/tasks/configure.yml b/tasks/configure.yml index bc1f82e..2a002e8 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -4,6 +4,7 @@ path: "{{ item }}" state: directory mode: 0755 + follow: true with_items: "{{ php_xhprof_config_dirs }}" - name: Copy XHProf INI into various other conf folders. diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index e219829..085cd09 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -1,3 +1,8 @@ --- +- name: Ensure dependencies for installing from source are installed. + apt: "pkg={{ item }} state=installed" + with_items: + - make + - name: Ensure GraphViz is installed. apt: pkg=graphviz state=installed diff --git a/tasks/setup-RedHat.yml b/tasks/setup-RedHat.yml index b3f1d7e..334d8f5 100644 --- a/tasks/setup-RedHat.yml +++ b/tasks/setup-RedHat.yml @@ -1,3 +1,8 @@ --- +- name: Ensure dependencies for installing from source are installed. + yum: "pkg={{ item }} state=installed" + with_items: + - make + - name: Ensure GraphViz is installed. yum: pkg=graphviz state=installed diff --git a/tests/test-source.yml b/tests/test-source.yml index 90da82d..44fd951 100644 --- a/tests/test-source.yml +++ b/tests/test-source.yml @@ -1,6 +1,9 @@ --- - hosts: all + vars: + php_enable_webserver: false + roles: - geerlingguy.php - role_under_test