xlab-si/xopera-opera

View on GitHub
examples/nginx_openstack/library/nginx/server/playbooks/reload.yaml

Summary

Maintainability
Test Coverage
---
- hosts: all
  become: yes
  tasks:
    - name: Restart nginx
      service:
        name: nginx
        state: restarted

    - name: Place temporary file
      copy:
        dest: /tmp/opera.mark
        content: "{{ marker }}"