diff options
author | 2015-11-16 15:43:26 +0000 | |
---|---|---|
committer | 2015-11-16 15:43:26 +0000 | |
commit | c3eb0aa24e4c4697f446f69b86a9cb159734e5f2 (patch) | |
tree | 1cb47bdd2f5b7788092213a08ac7319a99df2898 /deploy/adapters/ansible/roles/database/tasks | |
parent | a8aa85f2a26256938b0057802ac5521edb594791 (diff) | |
parent | cb5ae68b968f28c1cedee3720ff14cf5fa1ab92c (diff) |
Merge "suport installing openstack kilo on centos 7"
Diffstat (limited to 'deploy/adapters/ansible/roles/database/tasks')
-rw-r--r-- | deploy/adapters/ansible/roles/database/tasks/mongodb.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/database/tasks/mongodb.yml b/deploy/adapters/ansible/roles/database/tasks/mongodb.yml index 5ca23a19..c46a2932 100644 --- a/deploy/adapters/ansible/roles/database/tasks/mongodb.yml +++ b/deploy/adapters/ansible/roles/database/tasks/mongodb.yml @@ -3,6 +3,10 @@ action: "{{ ansible_pkg_mgr }} name={{ item }} state=present" with_items: mongodb_packages | union(packages_noarch) +- name: install pymongod packages + pip: name={{ item }} state=present extra_args='--pre' + with_items: pip_packages + - name: copy ceilometer configs template: src=mongodb.conf dest=/opt/os_templates backup=yes @@ -17,7 +21,7 @@ - /var/lib/mongodb/journal/* - name: manually restart mongodb server - service: name=mongodb state=restarted + service: name={{ mongodb_serveice }} state=restarted - wait_for: port=27017 delay=3 timeout=60 host={{ internal_vip.ip }} |