1 #####################################
2 ### someone"s ansible provisioner ###
3 #####################################
4 # Part of: https://git.somenet.org/root/pub/somesible.git
5 # 2017-2024 by someone <someone@somenet.org>
18 - name: add www-data user to group git
27 - name: include vars_nginx_vhost_custom
30 name: vars_nginx_vhost_custom
32 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/vars_nginx_vhost_custom.yml"
33 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/vars_nginx_vhost_custom.yml"
34 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/vars_nginx_vhost_custom.yml"
35 - "default/vars_nginx_vhost_custom.yml"
38 - name: configure gitweb vhost
40 name: server/nginx/vhost-unified
42 vhost_name: "git.somenet.org"
44 vhost_custom_pre_server: "{{vars_nginx_vhost_custom.vhost_custom_pre_server}}"
45 vhost_custom: "{{vars_nginx_vhost_custom.vhost_custom}}"
48 - name: setup gitweb config dir
57 - name: copy gitweb_public.cfg
60 dest: "/etc/gitweb/public.conf"
65 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/public.cfg"
66 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/public.cfg"
67 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/public.cfg"
68 - "default/public.cfg"
71 - name: copy public_header.html
74 dest: "/etc/gitweb/public_header.html"
79 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/public_header.html"
80 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/public_header.html"
81 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/public_header.html"
82 - "default/public_header.html"
85 - name: copy public_ht.html
88 dest: "/etc/gitweb/public_ht.html"
93 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/public_ht.html"
94 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/public_ht.html"
95 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/public_ht.html"
96 - "default/public_ht.html"