aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/nomad.yaml
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2020-05-20 10:07:36 +0000
committerPeter Mikus <pmikus@cisco.com>2020-05-21 15:10:26 +0000
commitc180acb883d659136a96fa989c85d9b045eea467 (patch)
treeba661a41d51f69b25d8b3250f50a85c3941948c0 /resources/tools/testbed-setup/ansible/nomad.yaml
parenta6ed764aecf2983a759931cc8d4bef161045d062 (diff)
Infra: Ansible Nomad
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Icc03bf62d8639f603ca90aa6ab849a46dc911d56
Diffstat (limited to 'resources/tools/testbed-setup/ansible/nomad.yaml')
-rw-r--r--resources/tools/testbed-setup/ansible/nomad.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/nomad.yaml b/resources/tools/testbed-setup/ansible/nomad.yaml
new file mode 100644
index 0000000000..b09245cfdb
--- /dev/null
+++ b/resources/tools/testbed-setup/ansible/nomad.yaml
@@ -0,0 +1,14 @@
+---
+# file: nomad.yaml
+
+- hosts: nomad
+ remote_user: testuser
+ become: yes
+ become_user: root
+ roles:
+ - role: user_add
+ tags: user_add
+ - role: docker
+ tags: docker
+ - role: nomad
+ tags: nomad