Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
---
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

This comment has been minimized.

Copy link
Owner Author

@kris-luminar kris-luminar commented Jul 23, 2013

$ 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
You can’t perform that action at this time.