Created
May 26, 2016 13:49
-
-
Save greg-hellings/64a2f89f42cd450d6eab89e233d6a132 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: do something | |
lineinfile: | |
dest: "{{ item.file }}" | |
line: "{{ item.line }}" | |
state: present | |
with_items: | |
- file: /some/path/file.txt | |
line: "some line that needs to be there" | |
- file: /other/path/file.bat | |
line: "another line" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment