aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2014-06-11 18:54:36 +0200
committerMilo Casagrande <milo.casagrande@linaro.org>2014-06-11 18:54:36 +0200
commit37474f696485caf64568fba1da09b60b493f737c (patch)
treed6d245705cdfa4ea1ac4fa6bc50f79e74cb360e9
parent667126e4314998e985cc1c617470ee1be6b5c5d6 (diff)
downloadlinaro-bugzilla-tools-37474f696485caf64568fba1da09b60b493f737c.tar.gz
Fix errors on package name and postgres command.
Change-Id: I51217a5e856ad88d88e029001ba8929fe142c8cf
-rw-r--r--ansible/roles/configure-db/tasks/main.yml6
-rw-r--r--ansible/roles/install-deps/tasks/main.yml2
-rw-r--r--ansible/site.yml2
3 files changed, 5 insertions, 5 deletions
diff --git a/ansible/roles/configure-db/tasks/main.yml b/ansible/roles/configure-db/tasks/main.yml
index 6bfe5eb..03f7f2c 100644
--- a/ansible/roles/configure-db/tasks/main.yml
+++ b/ansible/roles/configure-db/tasks/main.yml
@@ -1,8 +1,8 @@
---
- name: Create PostgreSQL bugzilla user
- mysql_user: name={{ db_user }}
- password={{ db_pass }}
- state=present
+ postgresql_user: name={{ db_user }}
+ password={{ db_pass }}
+ state=present
- name: Create PostgreSQL bugzilla database
postgresql_db: name={{ db_name }}
diff --git a/ansible/roles/install-deps/tasks/main.yml b/ansible/roles/install-deps/tasks/main.yml
index 9348de7..70ecab2 100644
--- a/ansible/roles/install-deps/tasks/main.yml
+++ b/ansible/roles/install-deps/tasks/main.yml
@@ -50,7 +50,7 @@
- lynx
- perlmagick
- postgresql
- - python-psycopg
+ - python-psycopg2
- tree
- unzip
- xmlto
diff --git a/ansible/site.yml b/ansible/site.yml
index fe56f1f..6b75a38 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -1,7 +1,7 @@
---
- hosts: all
sudo: yes
- gather_facts: yes
+ gather_facts: no
roles:
- common
- install-deps