aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git/meta/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/meta/main.yml')
-rw-r--r--roles/git/meta/main.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/roles/git/meta/main.yml b/roles/git/meta/main.yml
new file mode 100644
index 0000000..1117027
--- /dev/null
+++ b/roles/git/meta/main.yml
@@ -0,0 +1,41 @@
+---
+
+dependencies:
+ - role: sshd_keys
+ sshd_keys_users:
+ - "{{ git_user }}"
+
+argument_specs:
+ main:
+ short_description: git main entrypoint.
+ options:
+
+ git_user:
+ type: str
+ required: true
+ description: Git user
+
+ git_group:
+ type: str
+ required: true
+ description: Git group
+
+ git_dir:
+ type: path
+ required: true
+ description: Git directory
+
+ git_shell:
+ type: path
+ required: true
+ description: Shell of the git user
+
+ git_default_branch:
+ type: str
+ required: true
+ description: Default branch when creating a git repository
+
+ git_allow_ssh_login:
+ type: bool
+ required: true
+ description: Allow user to login with ssh
remember that computers suck.