diff --git a/CHANGELOG.md b/CHANGELOG.md index c9ae60b..c7530fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/) - upgrade to influxdb 2 +### Changed + +- test: use personal docker registry + ## [2.0.0] 2021-08-18 ### Break diff --git a/README.md b/README.md index 82a30f8..4c48e7d 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # Ansible role: Influxdb -[![Version](https://img.shields.io/badge/latest_version-2.0.0-green.svg)](https://git.yaegashi.fr/nishiki/ansible-role-influxdb/releases) -[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/ansible-role-influxdb/src/branch/master/LICENSE) +[![Version](https://img.shields.io/badge/latest_version-2.0.0-green.svg)](https://code.waks.be/nishiki/ansible-role-influxdb/releases) +[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://code.waks.be/nishiki/ansible-role-influxdb/src/branch/main/LICENSE) Install and configure InfluxDB 2 ## Requirements -* Ansible >= 2.10 -* Debian - * Bookworm +- Ansible >= 2.10 +- Debian + - Bookworm ## Role variables @@ -19,48 +19,48 @@ Install and configure InfluxDB 2 - `influxdb_api_token` - token to manage influxdb - `influxdb_orgs` - hash with organizations - ```yaml - myorg: - description: it's a test - state: present - ``` + ```yaml + myorg: + description: it's a test + state: present + ``` - `influxdb_buckets` - hash with the buckets - ```yaml - mybucket: - description: KFC - retention: 3600 - org: neworg - state: present - ``` + ```yaml + mybucket: + description: KFC + retention: 3600 + org: neworg + state: present + ``` - `influxdb_users` - hash with the users - ```yaml - myuser: - status: active - state: present - ``` + ```yaml + myuser: + status: active + state: present + ``` - `influxdb_authorizations` - array with the authorizations - ```yaml - - user: myuser - description: write bucket - org: neworg - status: active - state: present - permissions: - - action: write - resource: - type: buckets - org: myorg - name: mybucket - - action: read - resource: - type: buckets - ``` + ```yaml + - user: myuser + description: write bucket + org: neworg + status: active + state: present + permissions: + - action: write + resource: + type: buckets + org: myorg + name: mybucket + - action: read + resource: + type: buckets + ``` ## How to use @@ -74,10 +74,10 @@ Install and configure InfluxDB 2 ### Test with molecule and docker -* install [docker](https://docs.docker.com/engine/installation/) -* install `python3` and `python3-pip` -* install molecule and dependencies `pip3 install molecule molecule-plugins[docker] ansible-lint pytest-testinfra yamllint` -* run `molecule test` +- install [docker](https://docs.docker.com/engine/installation/) +- install `python3` and `python3-pip` +- install molecule and dependencies `pip3 install molecule molecule-plugins[docker] ansible-lint pytest-testinfra yamllint` +- run `molecule test` ## License diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 89bf10a..e73cc9e 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -3,7 +3,7 @@ driver: name: docker platforms: - name: debian12 - image: nishiki/debian12:molecule + image: code.waks.be/nishiki/molecule:debian12 privileged: true volumes: - /sys/fs/cgroup:/sys/fs/cgroup:rw