Quantcast
Channel: ansible Archives - ShellHacks
Viewing all articles
Browse latest Browse all 10

Ansible: Create File With Content

$
0
0

Ansible has built-in modules that can be used to create an empty file or a file with a content. These common tasks can be easily done using the Ansible’s file module (or win_file for Windows targets) and copy module (or win_copy for Windows targets). In this short note i will show the examples of the […]

The post Ansible: Create File With Content appeared first on ShellHacks.


Viewing all articles
Browse latest Browse all 10

Trending Articles