mirror/base: Convert everything to run on Apache
This commit is contained in:
parent
80fe81cf83
commit
9afdda987e
6 changed files with 108 additions and 409 deletions
|
@ -99,20 +99,11 @@
|
|||
recursive: true
|
||||
src: static
|
||||
|
||||
- name: install nginx xslt config
|
||||
copy:
|
||||
dest: /etc/nginx/mirror.xslt
|
||||
src: mirror.xslt
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: root
|
||||
notify: restart nginx
|
||||
|
||||
- name: create nginx mirror config
|
||||
- name: create apache mirror config
|
||||
template:
|
||||
dest: "/etc/nginx/conf.d/{{ inventory_hostname }}/mirror.conf"
|
||||
src: mirror.conf.j2
|
||||
dest: /etc/httpd/conf.local.d/mirror.conf
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: root
|
||||
notify: restart nginx
|
||||
group: "{{ ansible_wheel }}"
|
||||
notify: restart apache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue