You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
- name: Copy the NGINX repository definition
|
|
|
|
copy: src=nginx.repo dest=/etc/yum.repos.d/
|
|
|
|
|
|
|
|
- name: Copy the EPEL repository definition
|
|
|
|
copy: src=epel.repo dest=/etc/yum.repos.d/
|
|
|
|
|
|
|
|
- name: Create the GPG key for NGINX
|
|
|
|
copy: src=RPM-GPG-KEY-NGINX dest=/etc/pki/rpm-gpg
|
|
|
|
|
|
|
|
- name: Create the GPG key for EPEL
|
|
|
|
copy: src=RPM-GPG-KEY-EPEL-7 dest=/etc/pki/rpm-gpg
|
|
|
|
|
|
|
|
- name: Creates Docroot vhost directory
|
|
|
|
file: path=/var/www/html/{{ item.value.name }} state=directory owner={{ default_user_username }} group={{ php_fpm_pool_group }} mode=0755 recurse=yes
|
|
|
|
when: nginx_vhosts|length > 0
|
|
|
|
with_dict: "{{ vhost_domains }}"
|
|
|
|
notify:
|
|
|
|
- reload nginx
|
|
|
|
- reload apache
|