Skip to content
Snippets Groups Projects
Commit 36d4e542 authored by nimrod's avatar nimrod
Browse files

- Document what that empty default var is.

- Use octal numbers for file permissions.
parent 27a73445
No related branches found
No related tags found
No related merge requests found
--- ---
# defaults file for ansible-role-gitolite # defaults file for ansible-role-gitolite
# Content of the SSH public key for the gitolite admin account.
gitolite_public_key: gitolite_public_key:
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
- gitolite_public_key is defined - gitolite_public_key is defined
- ansible_os_family == 'Debian' - ansible_os_family == 'Debian'
- name: apt install - name: APT install
with_items: with_items:
- gitolite3 - gitolite3
- curl - curl
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
dest: /srv/git/gitolite.pub dest: /srv/git/gitolite.pub
owner: git owner: git
group: git group: git
mode: '0644' mode: 0o0644
- name: Setup gitolite - name: Setup gitolite
become: yes become: yes
...@@ -43,9 +43,9 @@ ...@@ -43,9 +43,9 @@
- name: Relax permission for cgit integration - name: Relax permission for cgit integration
with_items: with_items:
- path: /srv/git/repositories - path: /srv/git/repositories
mode: '0750' mode: 0o0750
- path: /srv/git/projects.list - path: /srv/git/projects.list
mode: '0640' mode: 0o0640
file: file:
path: '{{ item.path }}' path: '{{ item.path }}'
mode: '{{ item.mode }}' mode: '{{ item.mode }}'
...@@ -76,6 +76,6 @@ ...@@ -76,6 +76,6 @@
dest: /etc/cron.daily/git dest: /etc/cron.daily/git
owner: root owner: root
group: root group: root
mode: '0755' mode: 0o0755
- include: cgit.yml - include: cgit.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment