From d5697c2531ae8f6e4ad8a462f0483aca47ae0665 Mon Sep 17 00:00:00 2001 From: Srdjan Grubor Date: Fri, 24 Jan 2014 15:38:54 -0800 Subject: Added automatic install of eos-dev if it's not on the VM [endlessm/eos-sdk#1620] --- tools/dev_env_setup/playbooks/install_eos_dev_package.yaml | 9 +++++++++ tools/dev_env_setup/playbooks/setup_dev_machine.yaml | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 tools/dev_env_setup/playbooks/install_eos_dev_package.yaml (limited to 'tools') diff --git a/tools/dev_env_setup/playbooks/install_eos_dev_package.yaml b/tools/dev_env_setup/playbooks/install_eos_dev_package.yaml new file mode 100644 index 0000000..f69c31a --- /dev/null +++ b/tools/dev_env_setup/playbooks/install_eos_dev_package.yaml @@ -0,0 +1,9 @@ +--- +# vim:ff=unix ts=2 sw=2 ai expandtab + +- name: "Ensuring that we can call apt from our scripts" + raw: "apt-get install -y --force-yes python-apt python" + +- name: "Ensuring that eos-dev is installed. If not, this operation will take a signifficant amount of time" + apt: name=eos-dev force=yes update_cache=true cache_valid_time=259200 + diff --git a/tools/dev_env_setup/playbooks/setup_dev_machine.yaml b/tools/dev_env_setup/playbooks/setup_dev_machine.yaml index 11f0783..e87b827 100644 --- a/tools/dev_env_setup/playbooks/setup_dev_machine.yaml +++ b/tools/dev_env_setup/playbooks/setup_dev_machine.yaml @@ -14,6 +14,8 @@ - "../default_variables.yaml" tasks: + - include: install_eos_dev_package.yaml + - include: setup_tools_root.yaml - include: create_eos_app_shortcuts.yaml -- cgit v1.2.3