diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-01-21 18:14:36 +0000 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-01-21 18:14:36 +0000 |
commit | e2ee37f71a5059578605c77bdd0d8bad71049c5a (patch) | |
tree | 4ce810536fc512a71114e8c3ebaaa5a29e1074be /roles/nginx | |
parent | 2822b40326df4c24042b879a64389ce5e594fa5b (diff) | |
download | infra-e2ee37f71a5059578605c77bdd0d8bad71049c5a.tar.gz infra-e2ee37f71a5059578605c77bdd0d8bad71049c5a.tar.bz2 infra-e2ee37f71a5059578605c77bdd0d8bad71049c5a.zip |
Add role for git server
The Git server role should support:
* git ssh protocol,
* git protocol,
* git smart http protocol.
Support for cgit will come as a separate role.
Diffstat (limited to 'roles/nginx')
-rw-r--r-- | roles/nginx/tasks/main.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/nginx/tasks/main.yml b/roles/nginx/tasks/main.yml index 3fe4615..891e608 100644 --- a/roles/nginx/tasks/main.yml +++ b/roles/nginx/tasks/main.yml @@ -10,7 +10,7 @@ enabled: yes state: started -- name: Setup sites directories to serve by nginx +- name: Setup nginx directories ansible.builtin.file: path: '{{ item }}' state: directory @@ -18,6 +18,8 @@ group: root mode: u+rw,g+r,o+r loop: + - /etc/nginx/auth + - /etc/nginx/includes - /etc/nginx/sites-available - /etc/nginx/sites-enabled |