copy - Ansible template - Destination directory does not exist error -


i new ansible , using template statement in playbook copy file local machine remote machine. error saying destination directory not exist, there much.

i using centos 6.5 version (both local , remote). appreciated.

create destination directory ansible -

- name: create target directory   file: path=/etc/some_directory state=directory mode=0755 

ref: http://docs.ansible.com/file_module.html


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -