diff --git a/group_vars/all.yml b/group_vars/all.yml index 3c21d67f..8e05f536 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -202,6 +202,8 @@ sanoid_templates: sanoid_deb_url: http://docker10.mgrote.net:3344/sanoid_v2.2.0.deb ### mgrote_munin_node +munin_node_plugins_repo_user: "{{ ansible_forgejo_user }}" +munin_node_plugins_repo_user_pass: "{{ ansible_forgejo_user_pass }}" munin_node_bind_host: "0.0.0.0" munin_node_bind_port: "4949" munin_node_allowed_cidrs: [192.168.2.0/24] diff --git a/roles/mgrote_munin_node/tasks/additional.yml b/roles/mgrote_munin_node/tasks/additional.yml index 7420041f..fce41ac5 100644 --- a/roles/mgrote_munin_node/tasks/additional.yml +++ b/roles/mgrote_munin_node/tasks/additional.yml @@ -4,6 +4,8 @@ url: "{{ item.src }}" dest: "{{ munin_plugin_src_path }}{{ item.name }}" mode: '0755' + url_username: "{{ munin_node_plugins_repo_user | default ()}}" + url_password: "{{ munin_node_plugins_repo_user_pass | default ()}}" loop: "{{ munin_node_plugins }}" notify: restart munin-node #no_log: true TODO