Skip to content

Instantly share code, notes, and snippets.

@dohsimpson
Last active November 9, 2018 05:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dohsimpson/14eafc3dd82eb08bfb67e3e4fbf1d302 to your computer and use it in GitHub Desktop.
Save dohsimpson/14eafc3dd82eb08bfb67e3e4fbf1d302 to your computer and use it in GitHub Desktop.
Fuck Ansible
* `apt` cannot be followed by module name directory, have to use `name` option
* `import_playbook` is not a task, do not put under tasks
* Don't use `copy`, it is slow, use `synchronize` instead
* `shell` doesn't handle symlink chdir correctly, it's gonna chdir you to resolved path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment