diff --git a/01_linux.yml b/01_linux.yml index e8ba4a4..694d8eb 100644 --- a/01_linux.yml +++ b/01_linux.yml @@ -9,3 +9,9 @@ path: /root/testfile.txt state: touch mode: '0755' + + + - name: Add line in file + ansible.builtin.lineinfile: + path: /root/testfile.txt + line: Ansible was here...