Try and make proxies not replace files twice and also fix el7 python hash hotfix.

This commit is contained in:
Kevin Fenzi 2015-02-02 00:39:49 +00:00
parent dca00f57fa
commit a5d5bfff7f
3 changed files with 13 additions and 12 deletions

View file

@ -1 +1,2 @@
export OPENSSL_NO_DEFAULT_ZLIB=1 export OPENSSL_NO_DEFAULT_ZLIB=1
export PYTHONHASHSEED=random

View file

@ -24,17 +24,6 @@
- forwarded.conf - forwarded.conf
- 00-namevirtualhost.conf - 00-namevirtualhost.conf
- 01-keepalives.conf - 01-keepalives.conf
- headers.conf
notify:
- restart httpd
tags:
- httpd
- httpd/proxy
- name: And, copy in /etc/sysconfig/httpd
copy: >
src=sysconfig-httpd dest=/etc/sysconfig/httpd
owner=root group=root mode=0644
notify: notify:
- restart httpd - restart httpd
tags: tags:

View file

@ -29,8 +29,19 @@
- hotfix - hotfix
- apache - apache
- name: hotfix - copy over new httpd sysconfig - name: hotfix - copy over new httpd sysconfig (el6)
copy: src="{{ files }}/hotfix/httpd/httpd.sysconfig" dest=/etc/sysconfig/httpd copy: src="{{ files }}/hotfix/httpd/httpd.sysconfig" dest=/etc/sysconfig/httpd
when: ansible_distribution_major_version == '6'
notify:
- restart apache
tags:
- config
- hotfix
- apache
- name: hotfix - copy over new httpd sysconfig (el7)
copy: src="{{ files }}/hotfix/httpd/httpd.sysconfig" dest=/etc/sysconfig/httpd
when: ansible_distribution_major_version == '7'
notify: notify:
- restart apache - restart apache
tags: tags: