From cc494d798101e59b6d43e0e8f68aacee8483c20d Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 24 Feb 2018 16:54:13 +0800 Subject: role packages renamed to basic --- deploy.yml | 2 +- roles/basic/tasks/main.yml | 12 ++++++++++++ roles/packages/tasks/main.yml | 12 ------------ 3 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 roles/basic/tasks/main.yml delete mode 100644 roles/packages/tasks/main.yml diff --git a/deploy.yml b/deploy.yml index 639419c..e592803 100644 --- a/deploy.yml +++ b/deploy.yml @@ -5,7 +5,7 @@ become: true roles: - - packages + - basic - shadowsocks - dns 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 diff --git a/roles/packages/tasks/main.yml b/roles/packages/tasks/main.yml deleted file mode 100644 index 5dddeab..0000000 --- a/roles/packages/tasks/main.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -- 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