Ansible Collection: A collection of Ansible Modules and Lookup Plugins (MLP) from Linuxfabrik.

Overview

ansible_mlp

An Ansible collection of Ansible Modules and Lookup Plugins (MLP) from Linuxfabrik.

  • Ansible Bitwarden Item Lookup Plugin
    Returns a password item from Bitwarden. If no password item is found, a new item is created. Have a look at the source code or use ansible-doc --module-path ansible_mlp/plugins/lookup/ bitwarden_item for more details.

  • Ansible Keepass Lookup Plugin
    Returns a password item from a KeePass database file. If no password item is found, a new item is created. Have a look at the source code or use ansible-doc --module-path ansible_mlp/plugins/lookup/ keepass for more details.

Installation

To install the latest stable release:

ansible-galaxy collection install linuxfabrik.ansible_mlp

To install the latest development version:

# via HTTPS
ansible-galaxy collection install git+https://github.com/linuxfabrik/ansible_mlp.git

# via SSH
ansible-galaxy collection install [email protected]:linuxfabrik/ansible_mlp.git

Requirements

  • Depends on the used module or lookup plugin.

Role Variables

  • None

Dependencies

  • None

Example Playbook

- name: 'Example Playbook showing how the Ansible Modules and Lookup Plugins from Linuxfabrik work'
  hosts: 'localhost'
  connection: 'local'

  tasks:
    - name: 'Lookup in Bitwarden'
      ansible.builtin.debug:
        msg: "{{ lookup('linuxfabrik.ansible_mlp.bitwarden_item',
            {
              'organization_id': '91f07a34-980b-4a08-9033-b5b0accd3a70',
              'collection_ids': [
                'db2cf0c4-a7a3-4819-911c-5a02a2fdd23b',
              ],
              'hostname': 'app4711',
              'purpose': 'MariaDB',
              'username': 'mariadb-admin',
            },
          ) }}"

    - name: 'Lookup in a KeePass database file'
      ansible.builtin.debug:
        msg: "{{ lookup('keepass',
            {
              'name': 'Mail-Account [email protected]',
            },
            {
              'hostname': 'app4711',
              'purpose': 'MariaDB',
              'username': 'mariadb-admin',
            },
            database='/path/to/my.kdbx',
            keyfile='/path/to/my.key',
            password='keepass-passwd',
          ) }}"

License

The Unlicense, see LICENSE file.

Author Information

Linuxfabrik GmbH, Zurich

You might also like...
KivyPassword - A password generator using both Kivy framework and SQL in order to create a local database for users to generate strong passwords and store them pyinfra automates infrastructure super fast at massive scale. It can be used for ad-hoc command execution, service deployment, configuration management and more.
pyinfra automates infrastructure super fast at massive scale. It can be used for ad-hoc command execution, service deployment, configuration management and more.

pyinfra automates/provisions/manages/deploys infrastructure super fast at massive scale. It can be used for ad-hoc command execution, service deployme

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:

Latest Salt Documentation Open an issue (bug report, feature request, etc.) Salt is the world’s fastest, most intelligent and scalable automation engi

Simple, Pythonic remote execution and deployment.

Welcome to Fabric! Fabric is a high level Python (2.7, 3.4+) library designed to execute shell commands remotely over SSH, yielding useful Python obje

Cross-platform lib for process and system monitoring in Python
Cross-platform lib for process and system monitoring in Python

Home Install Documentation Download Forum Blog Funding What's new Summary psutil (process and system utilities) is a cross-platform library for retrie

This repository contains code examples and documentation for learning how applications can be developed with Kubernetes

BigBitBus KAT Components Click on the diagram to enlarge, or follow this link for detailed documentation Introduction Welcome to the BigBitBus Kuberne

Define and run multi-container applications with Docker

Docker Compose Docker Compose is a tool for running multi-container applications on Docker defined using the Compose file format. A Compose file is us

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

Apache Airflow Apache Airflow (or simply Airflow) is a platform to programmatically author, schedule, and monitor workflows. When workflows are define

Ganeti is a virtual machine cluster management tool built on top of existing virtualization technologies such as Xen or KVM and other open source software.

Ganeti 3.0 =========== For installation instructions, read the INSTALL and the doc/install.rst files. For a brief introduction, read the ganeti(7) m

Releases(v1.0.1)
Owner
Linuxfabrik
Your Service Provider for Linux and Open Source
Linuxfabrik
Ajenti Core and stock plugins

Ajenti is a Linux & BSD modular server admin panel. Ajenti 2 provides a new interface and a better architecture, developed with Python3 and AngularJS.

Ajenti Project 7k Jan 3, 2023
More than 130 check plugins for Icinga and other Nagios-compatible monitoring applications. Each plugin is a standalone command line tool (written in Python) that provides a specific type of check.

Python-based Monitoring Check Plugins Collection This Enterprise Class Check Plugin Collection offers a package of more than 130 Python-based, Nagios-

Linuxfabrik 119 Dec 27, 2022
Azure plugins for Feast (FEAture STore)

Feast on Azure This project provides resources to enable running a feast feature store on Azure. Feast Azure Provider The Feast Azure provider acts li

Microsoft Azure 70 Dec 31, 2022
📦 Powerful Package manager which updates plugins & server software for minecraft servers

pluGET A powerful package manager which updates Plugins and Server Software for minecraft servers. Screenshots check all to check installed plugins fo

null 106 Dec 16, 2022
Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions

Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions

Arie Bregman 35.1k Jan 2, 2023
A collection of beginner-friendly DevOps content

mansion Mansion is just a testing repo for learners to commit into open source project. These are the steps you need to learn: Please do not edit thes

Bryan Lim 62 Nov 30, 2022
A tool to convert AWS EC2 instances back and forth between On-Demand and Spot billing models.

ec2-spot-converter This tool converts existing AWS EC2 instances back and forth between On-Demand and 'persistent' Spot billing models while preservin

jcjorel 152 Dec 29, 2022
Iris is a highly configurable and flexible service for paging and messaging.

Iris Iris core, API, UI and sender service. For third-party integration support, see iris-relay, a stateless proxy designed to sit at the edge of a pr

LinkedIn 715 Dec 28, 2022
Let's learn how to build, release and operate your containerized applications to Amazon ECS and AWS Fargate using AWS Copilot.

?? Welcome to AWS Copilot Workshop In this workshop, you'll learn how to build, release and operate your containerised applications to Amazon ECS and

Donnie Prakoso 15 Jul 14, 2022