Skip to content

Instantly share code, notes, and snippets.

@jctanner
Created March 18, 2014 19:01
Show Gist options
  • Save jctanner/9627041 to your computer and use it in GitHub Desktop.
Save jctanner/9627041 to your computer and use it in GitHub Desktop.
DEVEL
jtanner@u1204:~/issues/jlaska-awx-install-fail$ ansible -i inventory localhost -m file -a "path=/tmp/newfoo state=file"
localhost | FAILED >> {
"failed": true,
"msg": "file (/tmp/newfoo) is absent, cannot continue",
"path": "/tmp/newfoo",
"state": "absent"
}
1.4.5
jtanner@u1204:~/issues/jlaska-awx-install-fail$ ansible -i inventory localhost -m file -a "path=/tmp/newfoo state=file"
localhost | FAILED >> {
"failed": true,
"msg": "file (/tmp/newfoo) does not exist, use copy or template module to create",
"path": "/tmp/newfoo",
"state": "absent"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment