Skip to content

Instantly share code, notes, and snippets.

@greghaynes
Created February 7, 2019 23:45
Show Gist options
  • Save greghaynes/5b5719280c3117f3f7fa2bb6c5fdecba to your computer and use it in GitHub Desktop.
Save greghaynes/5b5719280c3117f3f7fa2bb6c5fdecba to your computer and use it in GitHub Desktop.
tasks:
- name: Create a file called '/tmp/testfile.txt' with the content 'hello world'.
copy:
content: "hello world\n"
dest: /tmp/testfile.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment