No description
  • Shell 87.9%
  • Jinja 12.1%
Find a file
2026-05-24 09:31:25 +00:00
.ansible/roles rename role to dbshell 2026-05-24 02:57:24 +00:00
defaults add dbshell heartbeat support 2026-05-24 09:31:25 +00:00
files add dbshell heartbeat support 2026-05-24 09:31:25 +00:00
meta rename role to dbshell 2026-05-24 02:57:24 +00:00
tasks rename role to dbshell 2026-05-24 02:57:24 +00:00
templates add dbshell heartbeat support 2026-05-24 09:31:25 +00:00
.gitignore dbdump deployment 2024-10-09 17:51:13 +00:00
AGENTS.md add dbshell heartbeat support 2026-05-24 09:31:25 +00:00
README.md add dbshell heartbeat support 2026-05-24 09:31:25 +00:00

ansible-role-dbshell

Sample Playbook

- name: Setup backup scripts
  hosts: dbshell
  become: true
  roles:
    - role: dbshell
      dbshell_user: "{{ service_user }}"
      dbshell_targets:
        - name: netbox
          target: netbox
          host: localhost
          user: netbox
          pass: XXX
          path: /home/someone/backups
          compress: true
          port: 5432
          heartbeat_url: https://example.com/heartbeat
          databases:
            - netbox
  tags:
    - never
    - dbshell