aboutsummaryrefslogtreecommitdiffstats
path: root/roles/basic
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-02-24 16:54:13 +0800
committerAaron LI <aly@aaronly.me>2018-03-14 11:28:44 +0800
commitcc494d798101e59b6d43e0e8f68aacee8483c20d (patch)
treea78db79955c592406a8bfddc4d417e192d5ae88d /roles/basic
parent090c66581312a008caece399186abc2a997bc563 (diff)
downloadansible-dfly-vps-cc494d798101e59b6d43e0e8f68aacee8483c20d.tar.bz2
role packages renamed to basic
Diffstat (limited to 'roles/basic')
-rw-r--r--roles/basic/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/basic/tasks/main.yml b/roles/basic/tasks/main.yml
new file mode 100644
index 0000000..8126d49
--- /dev/null
+++ b/roles/basic/tasks/main.yml
@@ -0,0 +1,12 @@
+---
+- name: pkg - update packages database
+ command: pkg update
+
+- name: pkg - install packages
+ pkgng:
+ name: "{{ item }}"
+ state: present
+ with_items:
+ - tmux
+ - vim-lite
+ - mosh