diff options
author | Aaron LI <aly@aaronly.me> | 2018-02-21 11:51:21 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-02-21 11:51:21 +0800 |
commit | 5cc888e1c9384ae4f0a6f71718ab2acc97c0269d (patch) | |
tree | 3e6bc972f0f406391985179ff232cfbe392884d3 /roles/packages | |
parent | 182ecc547112a050bba4444b8e91ebb1e269baab (diff) | |
download | ansible-dfly-vps-5cc888e1c9384ae4f0a6f71718ab2acc97c0269d.tar.bz2 |
Add deploy playbook with packages role
Diffstat (limited to 'roles/packages')
-rw-r--r-- | roles/packages/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
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 |