From 1d26c85620117dd19a8a2f176db8f3dd6a4c0211 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Mon, 13 Apr 2015 16:54:34 +0200 Subject: [PATCH] Use get_url to pull install_puppet.sh, no point cloning whole system-config --- roles/bootstrap_puppet_infra_nodes/tasks/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/roles/bootstrap_puppet_infra_nodes/tasks/main.yml b/roles/bootstrap_puppet_infra_nodes/tasks/main.yml index 6f058a6..6b5bb7f 100644 --- a/roles/bootstrap_puppet_infra_nodes/tasks/main.yml +++ b/roles/bootstrap_puppet_infra_nodes/tasks/main.yml @@ -2,8 +2,14 @@ # Update packages - apt: update_cache=yes +# Download install_puppet.sh from system-config +- get_url: + url=https://git.openstack.org/cgit/openstack-infra/system-config/plain/install_puppet.sh + dest=/tmp/infra-ansible/install_puppet.sh + # Install puppet -- apt: name=puppet +- command: bash /tmp/infra-ansible/install_puppet.sh + tags: install_puppet # Deploy puppet.conf template - template: src=puppet.conf.j2 dest=/etc/puppet/puppet.conf