nginx.yml 161 B

123456789
  1. - name: 'Reload nginx'
  2. shell: nginx -t && nginx -s reload
  3. - name: 'Restart nginx'
  4. service:
  5. name: 'nginx'
  6. state: 'restarted'
  7. # vim: ft=yaml.ansible