localhost에 directory, file 생성 후 내용 추가 (file 모듈) playbook 예제 --- - hosts: localhost connection: local become: true tasks: - name: Creates directory file: path: ~/test state: directory - name: Creates file file: path: ~/test/test.txt state: touch - name: insert String in file lineinfile: path: ~/test/test.txt line: "insert test data!!!" File, lineinfile module 사용 playbook 실행 ansible-playbook -i ho..