Skip to content

Instantly share code, notes, and snippets.

@evrardjp
Last active September 29, 2017 10:51
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 evrardjp/517f0ad1c9a778127a56bac47b3a93c9 to your computer and use it in GitHub Desktop.
Save evrardjp/517f0ad1c9a778127a56bac47b3a93c9 to your computer and use it in GitHub Desktop.
- name: Run py_pkg_separately
hosts: repo_all[0]
gather_facts: no
vars:
pkg_locations:
vars:
# - "{{ playbook_dir }}/../"
# - /etc/ansible/roles
- /etc/openstack_deploy
tasks:
- name: Load local packages
debug:
msg: "Loading Packages"
with_py_pkgs: "{{ pkg_locations }}"
register: local_packages
tags:
- always
- name: Debug py_pkgs
debug:
var: local_packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment