-
-
Notifications
You must be signed in to change notification settings - Fork 603
Closed
Description
Submit a feature request or bug report
- I've read the guidelines for Contributing to Roots Projects
- This is a feature request
- This is a bug report
- This request isn't a duplicate of an existing issue
- I've read the docs and followed them (if applicable)
- This is not a personal support request that should be posted on the Roots Discourse forums
What is the current behavior?
When nginx fails to reload after nginx config change the error is reported by ansible.
However, subsequent playbook runs do not attempt to start nginx and no indication or error is logged (all OK).
What is the expected or desired behavior?
Subsequent ansible playbook runs must attempt to start nginx and at least report that it isn't running (as in the first causing run).
Additionally, a config rollback in case of nginx failing to reload using it should be attempted.
Bug report
Please provide steps to reproduce, including full log output:
- Intentionally introduce some syntax error in a nginx child config template.
- Run the playbook for the first time, note the error message.
- Run the playbook subsequent times after first time, note the absence of any error messages.
- Log into the server as admin user, try to reload nginx,
sudo service nginx reload,
note that nginx fails to reload.
Please describe your local environment:
Ansible version: 2.2.1.0
OS: Ubuntu 16.04.2 LTS
Vagrant version: Vagrant 1.9.1
Where did the bug happen? Development or remote servers?
Development.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels