Commit edf1fe41 by Feanil Patel

Install as a debian pkg.

This happens before common unfortunately so we can't rely on much
to exist.  Even pip is not installed till common.
parent 180b5e9a
......@@ -118,8 +118,6 @@ common_pip_pkgs:
- setuptools==18.3.2
- virtualenv==13.1.2
- virtualenvwrapper==4.7.1
# This is needed for the uri module to work correctly.
- httplib2==0.9.2
common_web_user: www-data
common_web_group: www-data
......
......@@ -35,3 +35,6 @@ user_rbash_links:
# will take precedence over the paramter
user_info: []
user_debian_pkgs:
# This is needed for the uri module to work correctly.
- python-httplib2
......@@ -70,6 +70,14 @@
# want to provide more binaries add them to user_rbash_links
# which can be passed in as a parameter to the role.
#
- name: Install debian packages user role needs
apt:
name: "{{ item }}"
instal_recommends: yes
state: present
update_cache: yes
with_items: "{{ user_debian_pkgs }}"
when: ansible_distribution in common_debian_variants
- debug:
var: user_info
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment