- hosts: all
sudo: yes
tasks:
- name: Update apt cache
apt: update_cache=yes
- name: Install pip for the install of the CLI
apt:
pkg: "{{ item }}"
state: present
when: ansible_os_family == 'Debian'
with_items:
- python-virtualenv
- python-setuptools
- python-pip
- name: Install the SoftLayer CLI
pip:
name: softlayer