summaryrefslogtreecommitdiff
path: root/terminal
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2019-01-21 22:50:32 +0100
committerRobin Krahl <me@robin-krahl.de>2019-01-21 23:02:52 +0100
commitc896e997bd8bbdefe4b7a333d276d268d027d16d (patch)
tree42bced75fe83006d07bd28622ecd02d95f7abbca /terminal
parent06e0f212a9f944e11851cdad57aa5efd02594370 (diff)
downloadansible-roles-c896e997bd8bbdefe4b7a333d276d268d027d16d.tar.gz
ansible-roles-c896e997bd8bbdefe4b7a333d276d268d027d16d.tar.bz2
Add terminal role for basic command-line access
Diffstat (limited to 'terminal')
-rw-r--r--terminal/defaults/main.yaml2
-rw-r--r--terminal/tasks/main.yaml2
-rw-r--r--terminal/tasks/packages.yaml16
3 files changed, 20 insertions, 0 deletions
diff --git a/terminal/defaults/main.yaml b/terminal/defaults/main.yaml
new file mode 100644
index 0000000..8170726
--- /dev/null
+++ b/terminal/defaults/main.yaml
@@ -0,0 +1,2 @@
+---
+openssh_client: openssh-client
diff --git a/terminal/tasks/main.yaml b/terminal/tasks/main.yaml
new file mode 100644
index 0000000..77b56a3
--- /dev/null
+++ b/terminal/tasks/main.yaml
@@ -0,0 +1,2 @@
+---
+- include: packages.yaml
diff --git a/terminal/tasks/packages.yaml b/terminal/tasks/packages.yaml
new file mode 100644
index 0000000..3e1fc40
--- /dev/null
+++ b/terminal/tasks/packages.yaml
@@ -0,0 +1,16 @@
+---
+- name: Install packages
+ package:
+ name: "{{ item }}"
+ state: present
+ with_items:
+ - curl
+ - git
+ - gnupg
+ - less
+ - make
+ - man
+ - "{{ openssh_client }}"
+ - patch
+ - vim
+ - wget