Allow passing source for ansible
Allow passing the source parameter for the pip install of ansible Change-Id: Ia6b50e6889a08edefb4e17957ba37d86f8db7cdb
This commit is contained in:
parent
ac07f3ae2d
commit
0a05c670c3
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue