1 2 3 4 5 6 7 8 9
--- - name: nginx test command: nginx -t - name: nginx reload command: nginx -s reload - name: nginx restart service: name=nginx state=restarted enabled=yes