Allow passing source for ansible

Allow passing the source parameter for the pip install of ansible

Change-Id: Ia6b50e6889a08edefb4e17957ba37d86f8db7cdb
This commit is contained in:
Ian Wienand 2017-01-11 15:23:10 +11:00
parent ac07f3ae2d
commit 0a05c670c3
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ class ansible (
$ansible_hostfile = '/etc/ansible/hosts',
$ansible_roles_path = '/etc/ansible/roles',
$ansible_version = '2.0.2.0',
$ansible_source = undef,
$retry_files_enabled = undef,
$retry_files_save_path = undef,
) {
@ -13,6 +14,7 @@ class ansible (
package { 'ansible':
ensure => $ansible_version,
source => $ansible_source,
provider => openstack_pip,
}