Skip to content

Commit e51f977

Browse files
authored
Remove root HTML tasks from source install (#280)
NGINX automatically creates a root HTML site when installing from source
1 parent 7341b2e commit e51f977

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

molecule/common/playbook_source.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,3 @@
1212
nginx_install_source_pcre: false
1313
nginx_install_source_openssl: true
1414
nginx_install_source_zlib: false
15-
16-
nginx_main_upload_enable: true
17-
nginx_main_upload_src: files/nginx.conf
18-
nginx_http_upload_enable: true
19-
nginx_http_upload_src: files/http/*.conf

tasks/opensource/setup-source.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -343,19 +343,6 @@
343343
chdir: "/tmp/{{ nginx_version }}"
344344
target: install
345345

346-
- name: "(Install: Linux) Install NGINX: Create html directory"
347-
file:
348-
path: /usr/share/nginx/html
349-
state: directory
350-
351-
- name: "(Install: Linux) Install NGINX: Copy index.html"
352-
copy:
353-
src: www/index.html
354-
owner: root
355-
group: root
356-
mode: '0644'
357-
dest: /usr/share/nginx/html/index.html
358-
359346
- name: "(Install: Linux) Upload systemd NGINX service file"
360347
copy:
361348
src: services/nginx.systemd

0 commit comments

Comments
 (0)