Install an updated version of pycrypto on Ubuntu12 from pip
This commit is contained in:
parent
12c0bb9414
commit
1f3eec293b
1 changed files with 15 additions and 0 deletions
|
@ -67,6 +67,14 @@
|
||||||
- rubygems-integration
|
- rubygems-integration
|
||||||
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == "14.04"
|
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == "14.04"
|
||||||
|
|
||||||
|
# Not sure why CentOS 6 is working without this....
|
||||||
|
#- name: Install Red Hat 6 ansible dependencies
|
||||||
|
# yum: name="{{ item }}" state=installed
|
||||||
|
# sudo: true
|
||||||
|
# with_items:
|
||||||
|
# - python-crypto2.6
|
||||||
|
# when: ansible_distribution in ('CentOS', 'RedHat') and ansible_distribution_major_version == "6"
|
||||||
|
|
||||||
- name: Install ansible pip deps
|
- name: Install ansible pip deps
|
||||||
sudo: true
|
sudo: true
|
||||||
pip: name="{{ item }}"
|
pip: name="{{ item }}"
|
||||||
|
@ -75,6 +83,13 @@
|
||||||
- Jinja2
|
- Jinja2
|
||||||
- paramiko
|
- paramiko
|
||||||
|
|
||||||
|
- name: Install ubuntu 12.04 ansible pip deps
|
||||||
|
sudo: true
|
||||||
|
pip: name="{{ item }}"
|
||||||
|
with_items:
|
||||||
|
- pycrypto
|
||||||
|
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == "12.04"
|
||||||
|
|
||||||
- name: Remove tty sudo requirement
|
- name: Remove tty sudo requirement
|
||||||
sudo: true
|
sudo: true
|
||||||
lineinfile: "dest=/etc/sudoers regexp='^Defaults[ , ]*requiretty' line='#Defaults requiretty'"
|
lineinfile: "dest=/etc/sudoers regexp='^Defaults[ , ]*requiretty' line='#Defaults requiretty'"
|
||||||
|
|
Loading…
Reference in a new issue