From 5cc888e1c9384ae4f0a6f71718ab2acc97c0269d Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 21 Feb 2018 11:51:21 +0800 Subject: Add deploy playbook with packages role --- roles/packages/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 roles/packages/tasks/main.yml (limited to 'roles/packages') diff --git a/roles/packages/tasks/main.yml b/roles/packages/tasks/main.yml new file mode 100644 index 0000000..5dddeab --- /dev/null +++ b/roles/packages/tasks/main.yml @@ -0,0 +1,12 @@ +--- +- name: update packages database + command: pkg update + +- name: install packages + pkgng: + name: "{{ item }}" + state: present + with_items: + - tmux + - vim-lite + - mosh -- cgit v1.2.2