aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/playbooks
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2017-04-13 20:56:56 +0200
committerPeter Mikus <pmikus@cisco.com>2017-04-14 07:35:20 +0000
commit4da982b7a0f5872de2cc721607894216a20892f4 (patch)
tree217c41366985b96514c06f1e047fc14734462956 /resources/tools/testbed-setup/playbooks
parent0778ed7eec4bfcdbad86e6962d92a10207d4ddd2 (diff)
Update ansible script
- Add more inter steps - Add alternative way to host files via Apache server (due to VIRL collisions) Change-Id: Ibb206fa630013e9cdff9cda145e993b033ec7138 Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/playbooks')
-rw-r--r--resources/tools/testbed-setup/playbooks/01-host-setup.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/testbed-setup/playbooks/01-host-setup.yaml b/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
index 26c0cdbecd..07bbe4a724 100644
--- a/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
+++ b/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
@@ -3,8 +3,6 @@
remote_user: testuser
sudo: yes
tasks:
- - name: install python-apt
- raw: apt-get update && apt-get install python-apt -y -q
- name: copy sudoers file
copy: src=files/sudoers dest=/etc/sudoers.d/testuser owner=root group=root mode=660
- name: copy hosts file
@@ -19,6 +17,8 @@
command: update-grub
- name: copy apt sources file
template: src=files/apt-sources.list dest=/etc/apt/sources.list
+ - name: install python-apt
+ raw: apt-get update && apt-get install python-apt -y -q
- name: update repositories
apt: update_cache=yes
- name: install git