aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/workspace/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/workspace/tasks/main.yml')
-rw-r--r--roles/workspace/tasks/main.yml35
1 files changed, 0 insertions, 35 deletions
diff --git a/roles/workspace/tasks/main.yml b/roles/workspace/tasks/main.yml
deleted file mode 100644
index 179bdef..0000000
--- a/roles/workspace/tasks/main.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-- name: Create workspace directory
- become: true
- ansible.builtin.file:
- path: '{{ workspace_dir }}'
- state: directory
- owner: '{{ ansible_user }}'
- group: '{{ ansible_user }}'
- mode: '750'
-
-- name: Install dependencies
- become: true
- ansible.builtin.apt:
- name:
- - git
- # I use Makefiles a lot, makes sense to install this:
- - make
- - vim
-
-- name: Configure git
- block:
- - name: Set user.name
- community.general.git_config:
- scope: global
- name: user.name
- value: '{{ git_name }}'
-
- - name: Set user.email
- community.general.git_config:
- scope: global
- name: user.email
- value: '{{ git_email }}'
-
-- name: Update projects
- ansible.builtin.include_tasks: project.yml
- loop: '{{ workspace_projects }}'