a45aa3b2c1
The change moves the role out from the main repo openstack-ansible repository and into its own standalone repository. Items within this change: * The role has been updated to ensure it runs standalone. * Tests added to the role within tox. * Functional tests added to the role that can either be run via the run_tests.sh script or using tox. * dev requirements have been updated for testing usecases. * Docs added to both the README.rst file as well as the docs folder. Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
23 lines
618 B
Django/Jinja
23 lines
618 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
{% for item in apt_pinned_packages %}
|
|
{%- if item.version is defined %}
|
|
Package: {{ item.package }}
|
|
Pin: version {{ item.version }}
|
|
Pin-Priority: {{ item.priority | default(apt_package_pinning_priority) }}
|
|
{% endif %}
|
|
|
|
{%- if item.origin is defined %}
|
|
Package: {{ item.package }}
|
|
Pin: origin {{ item.origin }}
|
|
Pin-Priority: {{ item.priority | default(apt_package_pinning_priority) }}
|
|
{% endif %}
|
|
|
|
{%- if item.release is defined %}
|
|
Package: {{ item.package }}
|
|
Pin: release o={{ item.release }}
|
|
Pin-Priority: {{ item.priority | default(apt_package_pinning_priority) }}
|
|
{% endif %}
|
|
|
|
{% endfor %}
|