aboutsummaryrefslogtreecommitdiffstats
path: root/roles/setup_git/tasks/main.yml
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-08 20:56:48 +0100
committerbinary <me@rgoncalves.se>2020-11-08 20:56:48 +0100
commit0490ca78425993c4ab61ec2f8d6d428bc3843b2c (patch)
treeb2aeb8e5a8e085e5ab20c15751e60fe426d4fc7f /roles/setup_git/tasks/main.yml
parente15d9acbd07c1ecb6e6c6b24f547b60f7d92ebaf (diff)
downloadinfrastructure-0490ca78425993c4ab61ec2f8d6d428bc3843b2c.tar.gz
Remove deprecated roles
Diffstat (limited to 'roles/setup_git/tasks/main.yml')
-rw-r--r--roles/setup_git/tasks/main.yml38
1 files changed, 0 insertions, 38 deletions
diff --git a/roles/setup_git/tasks/main.yml b/roles/setup_git/tasks/main.yml
deleted file mode 100644
index 655e81a..0000000
--- a/roles/setup_git/tasks/main.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-# roles ~~ setup_git
-
----
-- name: Check installation of git
- package:
- name: git
- state: present
-
-- name: Add group git
- user:
- name: "{{ git_group }}"
- state: present
-
-- name: Add user git
- user:
- name: "{{ git_user }}"
- comment: "{{ git_user_comment }}"
- group: "{{ git_group }}"
-
-- name: Set up multiple authorized keys
- authorized_key:
- user: "{{ git_user }}"
- state: present
- key: "{{ item }}"
- with_file:
- - "{{ playbook_dir }}/files/pub_ssh/WS-bentonite"
- - "{{ playbook_dir }}/files/pub_ssh/LP-graphite"
-
-- name: Create git directory
- file:
- path: "{{ git_directory_path }}"
- state: directory
- owner: "{{ git_user }}"
- group: "{{ git_group }}"
- mode: 0755
- recurse: True
-
remember that computers suck.