You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an error is accidentally injected into the vhosts.conf file, fixing it in the playbook won't take effect until the vhosts file is explicitly removed from the target host. I think this occurs because the nginx restart is attempted before the include of vhosts.yml. When there's an error in the vhosts file on the target host, the startup fails and the playbook halts before the new vhost.conf can be generated with the fix.
name: Ensure nginx is started and enabled to start at boot.
service: name=nginx state=started enabled=yes
include: vhosts.yml
The text was updated successfully, but these errors were encountered:
If an error is accidentally injected into the vhosts.conf file, fixing it in the playbook won't take effect until the vhosts file is explicitly removed from the target host. I think this occurs because the nginx restart is attempted before the include of vhosts.yml. When there's an error in the vhosts file on the target host, the startup fails and the playbook halts before the new vhost.conf can be generated with the fix.
service: name=nginx state=started enabled=yes
The text was updated successfully, but these errors were encountered: