|
|
@ -13,14 +13,6 @@
|
|
|
|
ignore_errors: true
|
|
|
|
ignore_errors: true
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install virtualenv
|
|
|
|
|
|
|
|
yum: name=python-virtualenv state=installed
|
|
|
|
|
|
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install virtualenv
|
|
|
|
|
|
|
|
apt: name=python-virtualenv state=installed
|
|
|
|
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install RH epel
|
|
|
|
- name: Install RH epel
|
|
|
|
yum: name="epel-release" state=installed
|
|
|
|
yum: name="epel-release" state=installed
|
|
|
|
sudo: true
|
|
|
|
sudo: true
|
|
|
@ -43,6 +35,7 @@
|
|
|
|
- gcc
|
|
|
|
- gcc
|
|
|
|
- python-devel
|
|
|
|
- python-devel
|
|
|
|
- libselinux-python
|
|
|
|
- libselinux-python
|
|
|
|
|
|
|
|
- python-virtualenv
|
|
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install Debian ansible dependencies
|
|
|
|
- name: Install Debian ansible dependencies
|
|
|
@ -57,6 +50,7 @@
|
|
|
|
- git
|
|
|
|
- git
|
|
|
|
- unzip
|
|
|
|
- unzip
|
|
|
|
- python-dev
|
|
|
|
- python-dev
|
|
|
|
|
|
|
|
- python-virtualenv
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install ubuntu 12.04 ansible dependencies
|
|
|
|
- name: Install ubuntu 12.04 ansible dependencies
|
|
|
|