Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Playbook for dumping the value of local_packages
---
- name: Build repo packages var
hosts: localhost
gather_facts: false
pre_tasks:
- name: Load local packages
debug:
msg: "Loading Packages"
with_py_pkgs: "{{ pkg_locations }}"
register: local_packages
- debug:
var: local_packages
vars:
pkg_locations:
- ../
- /etc/ansible/roles
- /etc/openstack_deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment