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:
parent
c5d393b888
commit
5fa2ca3e42
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user