From f4c363b8741acbe627f3f3f3a3d72607150efbaa Mon Sep 17 00:00:00 2001 From: George Hunt Date: Mon, 21 May 2018 04:02:00 +0000 Subject: [PATCH 1/4] load php-sqlite on ubuntu --- roles/httpd/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/httpd/tasks/main.yml b/roles/httpd/tasks/main.yml index 76979dd84..e404b3815 100644 --- a/roles/httpd/tasks/main.yml +++ b/roles/httpd/tasks/main.yml @@ -27,6 +27,7 @@ with_items: - apache2 - php + - php{{ php_version }}-sqlite3 tags: - download when: is_ubuntu From 1fc716581d8056fc5958beccf62ed0021d58d053 Mon Sep 17 00:00:00 2001 From: George Hunt Date: Mon, 21 May 2018 13:43:44 +0000 Subject: [PATCH 2/4] 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 }}" From bb5d5cbe03c8653767d840b4a185ff0361f8c9eb Mon Sep 17 00:00:00 2001 From: George Hunt Date: Mon, 21 May 2018 13:53:18 +0000 Subject: [PATCH 3/4] ubunbu ->ubuntu --- roles/httpd/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/httpd/tasks/main.yml b/roles/httpd/tasks/main.yml index 437d19606..de04af0f0 100644 --- a/roles/httpd/tasks/main.yml +++ b/roles/httpd/tasks/main.yml @@ -34,7 +34,7 @@ - name: Sqlite3 no longer included in another package in ubuntu18 package: name: php{{ php_version }}-sqlite3 - when: is_ubunbu_18 + when: is_ubuntu_18 - name: Install httpd required packages (redhat) package: From c7df7c3a4f25442282e11d2f695a3f63ac32c0ea Mon Sep 17 00:00:00 2001 From: George Hunt Date: Mon, 21 May 2018 14:38:04 +0000 Subject: [PATCH 4/4] move the ansible working files to /librar/working --- ansible.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index a78e0ba0b..99cd939c9 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 = /tmp/.ansible/tmp -local_tmp = /tmp/.ansible/tmp +remote_tmp = /library/working/.ansible/tmp +local_tmp = /library/working/.ansible/tmp