From e51f977a2cd96d7cce91daaa3f6fa7f38333253e Mon Sep 17 00:00:00 2001 From: Alessandro Fael Garcia Date: Tue, 7 Jul 2020 15:52:53 +0200 Subject: [PATCH] Remove root HTML tasks from source install (#280) NGINX automatically creates a root HTML site when installing from source --- molecule/common/playbook_source.yml | 5 ----- tasks/opensource/setup-source.yml | 13 ------------- 2 files changed, 18 deletions(-) diff --git a/molecule/common/playbook_source.yml b/molecule/common/playbook_source.yml index 808fd2f..45d3be3 100644 --- a/molecule/common/playbook_source.yml +++ b/molecule/common/playbook_source.yml @@ -12,8 +12,3 @@ nginx_install_source_pcre: false nginx_install_source_openssl: true 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 diff --git a/tasks/opensource/setup-source.yml b/tasks/opensource/setup-source.yml index 7b2f6bd..018c0b7 100644 --- a/tasks/opensource/setup-source.yml +++ b/tasks/opensource/setup-source.yml @@ -343,19 +343,6 @@ chdir: "/tmp/{{ nginx_version }}" 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" copy: src: services/nginx.systemd