Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appuio/ansible-ini2yaml
Ansible INI to YAML inventory converter
https://github.com/appuio/ansible-ini2yaml
Last synced: about 1 month ago
JSON representation
Ansible INI to YAML inventory converter
- Host: GitHub
- URL: https://github.com/appuio/ansible-ini2yaml
- Owner: appuio
- License: apache-2.0
- Created: 2018-02-01T08:58:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:26:20.000Z (12 months ago)
- Last Synced: 2024-08-02T12:47:22.634Z (4 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 83
- Watchers: 7
- Forks: 30
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - appuio/ansible-ini2yaml - Ansible INI to YAML inventory converter (others)
README
[![Build Status](https://travis-ci.org/appuio/ansible-ini2yaml.svg?branch=master)](https://travis-ci.org/appuio/ansible-ini2yaml)
Ansible INI to YAML inventory converter
=======================================This repository contains a Python script for converting Ansible inventories in INI format to YAML format.
Usage
-----The script is implemented as a filter:
ini2yaml inventory.yaml
Ansible 2.4.1 or later automatically recognizes the inventory format so the `.yaml` file extension can be omitted,
also allowing the default `/etc/ansible/hosts` inventory to be in YAML format.Dependencies
------------
You may need the following dependencies:pip install pyyaml