Remove root HTML tasks from source install (#280)

NGINX automatically creates a root HTML site when installing from source
This commit is contained in:
Alessandro Fael Garcia 2020-07-07 15:52:53 +02:00 committed by GitHub
parent 7341b2ec64
commit e51f977a2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 18 deletions

View File

@ -12,8 +12,3 @@
nginx_install_source_pcre: false nginx_install_source_pcre: false
nginx_install_source_openssl: true nginx_install_source_openssl: true
nginx_install_source_zlib: false nginx_install_source_zlib: false
nginx_main_upload_enable: true
nginx_main_upload_src: files/nginx.conf
nginx_http_upload_enable: true
nginx_http_upload_src: files/http/*.conf

View File

@ -343,19 +343,6 @@
chdir: "/tmp/{{ nginx_version }}" chdir: "/tmp/{{ nginx_version }}"
target: install target: install
- name: "(Install: Linux) Install NGINX: Create html directory"
file:
path: /usr/share/nginx/html
state: directory
- name: "(Install: Linux) Install NGINX: Copy index.html"
copy:
src: www/index.html
owner: root
group: root
mode: '0644'
dest: /usr/share/nginx/html/index.html
- name: "(Install: Linux) Upload systemd NGINX service file" - name: "(Install: Linux) Upload systemd NGINX service file"
copy: copy:
src: services/nginx.systemd src: services/nginx.systemd