Skip to content

Instantly share code, notes, and snippets.

@kris-luminar
Created July 23, 2013 17:52
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 kris-luminar/6064543 to your computer and use it in GitHub Desktop.
Save kris-luminar/6064543 to your computer and use it in GitHub Desktop.
---
apt_upgrade_file: virtualbox_upgrade.yml
---
apt_upgrade_file: vmware_tools_upgrade.yml
---
- hosts: webhost.dev
user: vagrant
sudo: yes
vars_files:
- "vars/{{ ansible_virtualization_type }}.yml"
tasks:
- include: {{ apt_upgrade_file }}
@kris-luminar
Copy link
Author

$ ansible-playbook webhost.yml

ERROR: Syntax Error while loading YAML script, webhost.yml
Note: The error may actually appear before this position: line 9, column 17


    - include: {{ apt_upgrade_file }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment