Stop validating nginx configuration

This should be done by testinfra or some other tool outside of our
ansible runs.

Change-Id: I9b4d1b9a02bd0426d6619e329f561df7a7abb98e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-03-30 22:06:04 -04:00
parent c5d393b888
commit 5fa2ca3e42
2 changed files with 0 additions and 6 deletions

View File

@ -12,10 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- name: Validate nginx
become: yes
shell: /usr/sbin/nginx -t -c /etc/nginx/nginx.conf
- name: Restart nginx
become: yes
service:

View File

@ -19,7 +19,6 @@
src: "{{ nginx_file_nginx_conf_src }}"
when: nginx_file_nginx_conf_src
notify:
- Validate nginx
- Restart nginx
- name: Copy nginx custom configuration
@ -32,5 +31,4 @@
src: "{{ nginx_file_include_dir_src }}"
when: nginx_file_include_dir_src
notify:
- Validate nginx
- Restart nginx