xlab-si/xopera-opera

View on GitHub
examples/nginx_openstack/library/nginx/site/playbooks/create.yaml

Summary

Maintainability
Test Coverage
---
- hosts: all
  become: yes

  tasks:
    - name: Install sample site
      copy:
        dest: /usr/share/nginx/html/index.html
        content: |
          <!doctype html>
          <html lang="en">
          <head>
            <title>Hello World!</title>
          </head>
          <body>
            <h1>Sample we page</h1>
            <p>With little content ;)</p>
          </body>
          </html>