Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch: Launch Alertmanager and snmp_exporter with the account created by the _common module #492

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

umatare5
Copy link

What

SSIA.

Why

Remarks

These users has already been created in:

- name: Install
ansible.builtin.include_role:
name: prometheus.prometheus._common
tasks_from: install.yml
vars:
_common_local_cache_path: "{{ alertmanager_local_cache_path }}"
_common_binaries: "{{ _alertmanager_binaries }}"
_common_binary_install_dir: "{{ alertmanager_binary_install_dir }}"
_common_binary_url: "{{ alertmanager_binary_url }}"
_common_checksums_url: "{{ alertmanager_checksums_url }}"
_common_system_group: "{{ alertmanager_system_group }}"
_common_system_user: "{{ alertmanager_system_user }}"
_common_config_dir: "{{ alertmanager_config_dir }}"
_common_binary_unarchive_opts: ['--strip-components=1']
tags:
- alertmanager
- install
- alertmanager_install

- name: Install
ansible.builtin.include_role:
name: prometheus.prometheus._common
tasks_from: install.yml
vars:
_common_local_cache_path: "{{ snmp_exporter_local_cache_path }}"
_common_binaries: "{{ _snmp_exporter_binaries }}"
_common_binary_install_dir: "{{ snmp_exporter_binary_install_dir }}"
_common_binary_url: "{{ snmp_exporter_binary_url }}"
_common_checksums_url: "{{ snmp_exporter_checksums_url }}"
_common_system_group: "{{ snmp_exporter_system_group }}"
_common_system_user: "{{ snmp_exporter_system_user }}"
_common_config_dir: "{{ snmp_exporter_config_dir }}"
_common_binary_unarchive_opts: ['--strip-components=1']
tags:
- snmp_exporter_install

@umatare5 umatare5 force-pushed the refactor/role/switch_daemon_users branch from f98a460 to ea8774d Compare December 10, 2024 06:14
@github-actions github-actions bot added trivial and removed trivial labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant