Skip to content

Instantly share code, notes, and snippets.

@s3w47m88
Created September 19, 2017 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s3w47m88/280f5bf07896e54c4433779e70aa1ea8 to your computer and use it in GitHub Desktop.
Save s3w47m88/280f5bf07896e54c4433779e70aa1ea8 to your computer and use it in GitHub Desktop.
RUNNING HANDLER [common : reload nginx] ****************************************************************************************************************************************
System info:
Ansible 2.3.2.0; Linux
Trellis at "Add ansible_local support for non-Windows"
---------------------------------------------------
nginx: [emerg] invalid number of arguments in "include" directive in
/etc/nginx/sites-enabled/thewaitstaffteam.theportlandcompany.com.conf:50
nginx: configuration file /etc/nginx/nginx.conf test failed
fatal: [thewaitstaffteam.theportlandcompany.com]: FAILED! => {"changed": true, "cmd": ["nginx", "-t"], "delta": "0:00:00.046656", "end": "2017-09-19 02:48:04.064837", "failed": true, "rc": 1, "start": "2017-09-19 02:48:04.018181", "stderr": "nginx: [emerg] invalid number of arguments in \"include\" directive in /etc/nginx/sites-enabled/thewaitstaffteam.theportlandcompany.com.conf:50\nnginx: configuration file /etc/nginx/nginx.conf test failed", "stderr_lines": ["nginx: [emerg] invalid number of arguments in \"include\" directive in /etc/nginx/sites-enabled/thewaitstaffteam.theportlandcompany.com.conf:50", "nginx: configuration file /etc/nginx/nginx.conf test failed"], "stdout": "", "stdout_lines": []}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment