blob: 6edffcb7c3ac0fbf330bcf20e3c4d2c78799613b [file] [log] [blame]
Sapan Bhatia2adaaaf2017-04-13 19:41:53 -07001- name: "Install apt dependencies"
Sapan Bhatia7348d5c2017-04-16 13:07:25 -07002 become: yes
David K. Bainbridgeed101542016-05-18 20:26:15 -07003 apt:
Sapan Bhatia2adaaaf2017-04-13 19:41:53 -07004 name: "{{ item }}"
5 state: present
6 with_items:
7 - python-dev
8 - libffi-dev
9 - python-pip
10 - libssl-dev
11 - sshpass
12
13- name: "Install Ansible via pip"
14 pip: name=ansible version=2.2.2.0
15 become: yes
16
17# - name: Ansible Repository
18# become: yes
19# apt_repository:
20# repo: "{{ ansible_apt_repo | default('ppa:ansible/ansible') }}"
21# register: result
22# until: result | success
23# retries: 3
24# delay: 10
25
26# - name: Ensure Ansible
27# become: yes
28# apt:
29# name=ansible=2.2.*
30# state=present