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>
7 # Install munin-node and munin-async.
19 - name: copy munin.conf to /etc/munin/munin.conf
22 dest: "/etc/munin/munin.conf"
27 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/munin.conf"
28 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/munin.conf"
29 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/munin.conf"
30 - "default/munin.conf"
33 - name: create .ssh-dir
35 path: "/var/lib/munin/.ssh"
42 - name: copy id_ed25519 to /var/lib/munin/.ssh/id_ed25519
45 dest: "/var/lib/munin/.ssh/id_ed25519"
50 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/id_ed25519"
51 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/id_ed25519"
52 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/id_ed25519"
53 - "default/id_ed25519"
56 - name: include vars_nginx_vhost_custom
59 name: vars_nginx_vhost_custom
61 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/{{munin_domain}}-vars_nginx_vhost_custom.yml"
62 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/{{munin_domain}}-vars_nginx_vhost_custom.yml"
63 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/{{munin_domain}}-vars_nginx_vhost_custom.yml"
64 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/vars_nginx_vhost_custom.yml"
65 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/vars_nginx_vhost_custom.yml"
66 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/vars_nginx_vhost_custom.yml"
67 - "default/vars_nginx_vhost_custom.yml"
70 - name: configure munin vhost
72 name: server/nginx/vhost-unified
75 vhost_name: "{{munin_domain}}"
77 vhost_custom_pre_server: "{{vars_nginx_vhost_custom.vhost_custom_pre_server}}"
78 vhost_custom: "{{vars_nginx_vhost_custom.vhost_custom}}"