xlab-si/xopera-opera

View on GitHub
examples/hello/playbooks/create.yaml

Summary

Maintainability
Test Coverage
---
- hosts: all
  gather_facts: false

  tasks:
    - name: Make the location
      file:
        path: /tmp/playing-opera/hello
        recurse: true
        state: directory

    - name: Ansible was here
      copy:
        dest: /tmp/playing-opera/hello/hello.txt
        content: "{{ marker }}"