Coder Social home page Coder Social logo

ansible.ca-certificates's Introduction

Ansible Role: ca-certificates

Build Status license Ansible Galaxy Ansible Role

Description

Ansible role to manage CA certificates in the Linux and Windows system trust store. It's possible to add PEM formatted certificates from the local file system, a already trusted HTTP(s) URL, from raw content.

Installation

ansible-galaxy install arillso.ca_certificates

Requirements

none

Role Variables

ca_certificates_root_directory

Location where the certificates are stored under windows before they are imported into the certificate store of Windows.

ca_certificates_root_directory: '{{ ansible_env.TMP }}'

ca_certificates_packages

Packages to be installed.

ca_certificates_packages:
  - ca-certificates

ca_certificates_files

List of CA certificates that are to be added to the certificate store of the system. Each list element is a configuration directory that defines the source (URL, Files or Inline as variable) of the certificate. It must contain a key'name' and one of the following keys in order to use the certificate:

Option Comments
file Path to a file on the host running the Ansible playbook. Relative file paths are related to the role's files/ directory.
url URL to a PEM-formatted certificate file
content Certificate inline as PEM-formatted
store_name Optional in Windows. The store name to use when importing. See: Ansible doc
store_location Optional in Windows. See: Ansible doc
ca_certificates_files: []

Dependencies

None

Example Playbook

- hosts: all
  roles:
    - arillso.ca_certificates

Author

License

This project is under the MIT License. See the LICENSE file for the full license text.

Copyright

(c) 2020, Arillso

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.