aboveops.systemd

DEPRECATION WARNING

This Ansible role is no longer recommended and should be replaced with the collection almaops.common.

aboveops.systemd

This role packages the systemd Ansible module.

Description

This role simply wraps the systemd Ansible module.

Example

- role: aboveops.template
  template_content: |
    upstream grafana {
        {% for host in groups["monitoring"] %}
        server {{ hostvars[host].backnet_ip }}:3000;
        {% endfor %}
    }
  template_dest: "/etc/nginx/conf.d/grafana_upstream.conf"

- role: aboveops.systemd
  systemd_service_name: nginx
  systemd_service_state: reloaded
  systemd_daemon_reload: false
  when: template_result is changed

Install

You can install this role from Ansible Galaxy:

ansible-galaxy install aboveops.systemd

License

MIT

Author Information

Dmitrii Kashin, freehck@freehck.com

Informazioni sul progetto

systemd module wrapped into the role

Installa
ansible-galaxy install aboveops.systemd
Licenza
Unknown
Download
290
Proprietario
AboveOps - DevOps consulting.