Skip to content

Commit

Permalink
Merge pull request thefinn93#41 from gelin/centos
Browse files Browse the repository at this point in the history
Added support of CentOS 7.2
  • Loading branch information
thefinn93 authored Feb 19, 2017
2 parents e9b1041 + 081da00 commit cfc0b93
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ galaxy_info:
- name: EL
versions:
- 7
- name: CentOS
versions:
- 7.2

galaxy_tags:
- networking
Expand Down
7 changes: 7 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
- pip
tags: install

- name: Install pycparser
# https://community.letsencrypt.org/t/certbot-auto-fails-while-setting-up-virtual-environment-complains-about-package-hashes/20529/22
pip: virtualenv="{{ letsencrypt_venv }}" virtualenv_site_packages=no name=pycparser version=2.13 state=present virtualenv_python=python2
become: yes
tags: install
when: ansible_os_family == "RedHat"

- name: More python depends
pip:
virtualenv: "{{ letsencrypt_venv }}"
Expand Down
2 changes: 1 addition & 1 deletion vars/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ letsencrypt_depends:
- ca-certificates
- python-pip
- git

virtualenv_package_name: "python-virtualenv"

0 comments on commit cfc0b93

Please sign in to comment.