Skip to content
Snippets Groups Projects
Commit 0094fe8d authored by sgk's avatar sgk
Browse files

CI debug commit

parent 6f3333e5
No related branches found
No related tags found
No related merge requests found
Pipeline #258533 failed
......@@ -59,6 +59,10 @@
# v3 compatability
#End-block-apiv3
- name: Run nginx -t to test configuration before
command: nginx -t
register: nginx_test
- name: Insert block below server_name domain.com;
lineinfile:
path: /etc/nginx/sites-available/float.conf
......@@ -75,6 +79,15 @@
## end block
#End-block-apiv5
- name: show /etc/nginx/sites-available/float.conf
slurp:
src: /etc/nginx/sites-available/float.conf
register: nginx_conf_content
- name: Display nginx configuration file content
debug:
msg: "{{ nginx_conf_content.content }}"
- name: Run nginx -t to test configuration
command: nginx -t
register: nginx_test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment