From 61df8cf61a37a82e313f509644b360edb5973001 Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Tue, 7 Feb 2017 15:38:26 +1100
Subject: [PATCH] missing pip from the list of dependencies

---
 roles/hpcsystems/tasks/main.yml | 46 +++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 roles/hpcsystems/tasks/main.yml

diff --git a/roles/hpcsystems/tasks/main.yml b/roles/hpcsystems/tasks/main.yml
new file mode 100644
index 00000000..4500f696
--- /dev/null
+++ b/roles/hpcsystems/tasks/main.yml
@@ -0,0 +1,46 @@
+---
+- name: install system dependencies
+  yum: name={{ item }} state=installed
+  with_items:
+    - openssl-devel
+    - openldap-devel
+    - python-pip
+  become: true
+  become_user: root
+  when: ansible_os_family == "RedHat"
+
+- name: install system dependencies
+  apt: name={{ item }} state=installed
+  with_items:
+    - libssl-dev
+    - libldap2-dev
+  become: true
+  become_user: root
+  when: ansible_os_family == "Debian"
+
+- name: install merypytools
+  pip:
+    name: "git+https://gitlab.erc.monash.edu.au/hpc-team/mercpytools.git#egg=mercpytools"
+    extra_args: "--upgrade"
+  become: true
+  become_user: root
+
+- name: create install dir
+  file: name={{ item }} state=directory owner={{ ansible_user }}
+  with_items:
+   - "/usr/local/hpcsystem"
+   - "/usr/local/hpcsystem_config"
+  become: true
+  become_user: root
+
+
+- name: install hpcsystem
+  git: 
+    repo: git@gitlab.erc.monash.edu.au:hpc-team/hpcsystem.git
+    dest: /usr/local/hpcsystem
+
+- name: install hpcsystem_config
+  git: 
+    repo: git@gitlab.erc.monash.edu.au:hpc-team/m3_hpcsystem_config.git
+    dest: /usr/local/hpcsystem_config
+    accept_hostkey: True
-- 
GitLab