Merge "Install puppet with ansible"
This commit is contained in:
commit
2c88fceeae
|
@ -11,7 +11,8 @@ def run_ansible(host)
|
|||
end
|
||||
|
||||
def install_infra_puppet(host)
|
||||
on host, "bash -x #{ENV['HOME']}/src/#{SYSTEM_CONFIG}/install_puppet.sh", :environment => ENV.to_hash
|
||||
install_puppet_playbook = "#{ENV['HOME']}/src/#{SYSTEM_CONFIG}/playbooks/install_puppet.yaml"
|
||||
on host, ".ansiblevenv/bin/ansible-playbook -i hosts -e '{\"puppet_install_version\":#{ENV['PUPPET_VERSION']}}' #{install_puppet_playbook}"
|
||||
end
|
||||
|
||||
def setup_host(host)
|
||||
|
|
Loading…
Reference in New Issue