From c896e997bd8bbdefe4b7a333d276d268d027d16d Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 21 Jan 2019 22:50:32 +0100 Subject: Add terminal role for basic command-line access --- terminal/defaults/main.yaml | 2 ++ terminal/tasks/main.yaml | 2 ++ terminal/tasks/packages.yaml | 16 ++++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 terminal/defaults/main.yaml create mode 100644 terminal/tasks/main.yaml create mode 100644 terminal/tasks/packages.yaml 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 -- cgit v1.2.3