summaryrefslogtreecommitdiff
path: root/tools/dev_env_setup/playbooks
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dev_env_setup/playbooks')
-rw-r--r--tools/dev_env_setup/playbooks/install_eos_dev_package.yaml9
-rw-r--r--tools/dev_env_setup/playbooks/setup_dev_machine.yaml2
2 files changed, 11 insertions, 0 deletions
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