Change in osmo-ci[master]: ansible: add playbook setup-simtest

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Jul 24 10:22:23 UTC 2018


lynxis lazus has submitted this change and it was merged. ( https://gerrit.osmocom.org/10017 )

Change subject: ansible: add playbook setup-simtest
......................................................................

ansible: add playbook setup-simtest

Change-Id: Iab74a2b3fc3148bce815b2dadd1fd683c4b64c44
---
M ansible/hosts
A ansible/setup-simtest.yml
2 files changed, 35 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  lynxis lazus: Verified



diff --git a/ansible/hosts b/ansible/hosts
index 4767b0c..85b25d6 100644
--- a/ansible/hosts
+++ b/ansible/hosts
@@ -14,3 +14,6 @@
 build2-deb9build-ansible ansible_host=2a01:4f8:10b:2ad9::1:6 osmocom_jenkins_slave_fstrim=True
 host2-deb8build-ansible ansible_host=2a01:4f8:120:8470::1:2
 host2-deb9build-ansible ansible_host=2a01:4f8:120:8470::1:3 osmocom_jenkins_slave_fstrim=True
+
+[simtester]
+simtest ansible_host=10.9.25.80
diff --git a/ansible/setup-simtest.yml b/ansible/setup-simtest.yml
new file mode 100644
index 0000000..2cbd45b
--- /dev/null
+++ b/ansible/setup-simtest.yml
@@ -0,0 +1,32 @@
+---
+- name: setup jenkins slaves
+  hosts: simtester
+  user: root
+  tasks:
+    - name: apt-get update
+      apt:
+        cache_valid_time: 3600
+        update_cache: yes
+
+    - name: install common utilities
+      apt:
+        name: "{{ item }}"
+        install_recommends: no
+      with_items:
+        - vim
+        - ca-certificates
+        - python-minimal
+        - python-setuptools
+        - python-pip
+        - python-serial
+        - python-pyscard
+        - virtualenv
+
+  roles:
+    - name: osmocom-jenkins-slave
+      generic_slave: false
+      install_jenkins_utilities: false
+      install_osmocom_build_deps: false
+      ttcn3_slave: false
+      tags:
+        - jenkins-slave

-- 
To view, visit https://gerrit.osmocom.org/10017
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iab74a2b3fc3148bce815b2dadd1fd683c4b64c44
Gerrit-Change-Number: 10017
Gerrit-PatchSet: 3
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180724/2f0f7b3b/attachment.htm>


More information about the gerrit-log mailing list