From 0a05c670c3e6cf92c73717286ddfc49354e0469a Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 11 Jan 2017 15:23:10 +1100 Subject: [PATCH] Allow passing source for ansible Allow passing the source parameter for the pip install of ansible Change-Id: Ia6b50e6889a08edefb4e17957ba37d86f8db7cdb --- manifests/init.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index dce6924..0b1ffaa 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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, }