From 1fc716581d8056fc5958beccf62ed0021d58d053 Mon Sep 17 00:00:00 2001 From: George Hunt Date: Mon, 21 May 2018 13:43:44 +0000 Subject: [PATCH] do not risk error on earlier version of ubuntu --- ansible.cfg | 4 ++-- roles/httpd/tasks/main.yml | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index fdfc5e7db..a78e0ba0b 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -3,5 +3,5 @@ [defaults] squash_actions = apk, apt, dnf, homebrew, openbsd_pkg, pacman, pkgng, yum, zypper, package -remote_tmp = $HOME/.ansible/tmp -local_tmp = $HOME/.ansible/tmp +remote_tmp = /tmp/.ansible/tmp +local_tmp = /tmp/.ansible/tmp diff --git a/roles/httpd/tasks/main.yml b/roles/httpd/tasks/main.yml index e404b3815..437d19606 100644 --- a/roles/httpd/tasks/main.yml +++ b/roles/httpd/tasks/main.yml @@ -27,11 +27,15 @@ with_items: - apache2 - php - - php{{ php_version }}-sqlite3 tags: - download when: is_ubuntu +- name: Sqlite3 no longer included in another package in ubuntu18 + package: + name: php{{ php_version }}-sqlite3 + when: is_ubunbu_18 + - name: Install httpd required packages (redhat) package: name: "{{ item }}"