Skip to content

Instantly share code, notes, and snippets.

@sedrubal
sedrubal / keepassxc.py
Created January 7, 2025 15:23
Ansible Lookup Plugin that allows looking up credentials in KeePassXC
#!/usr/bin/env python3
# Copyright (c) 2023, Sebastian Endres <[email protected]>
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
__metaclass__ = type
DOCUMENTATION = """
name: keepassxc