Przeglądaj źródła

add default file from "molecule init scenario -r matrix-coturn"

pull/672/head
Fanch 5 lat temu
rodzic
commit
48e9a3115a
5 zmienionych plików z 84 dodań i 0 usunięć
  1. +33
    -0
      roles/matrix-coturn/.yamllint
  2. +22
    -0
      roles/matrix-coturn/molecule/default/INSTALL.rst
  3. +7
    -0
      roles/matrix-coturn/molecule/default/converge.yml
  4. +13
    -0
      roles/matrix-coturn/molecule/default/molecule.yml
  5. +9
    -0
      roles/matrix-coturn/molecule/default/verify.yml

+ 33
- 0
roles/matrix-coturn/.yamllint Wyświetl plik

@@ -0,0 +1,33 @@
---
# Based on ansible-lint config
extends: default

rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
colons:
max-spaces-after: -1
level: error
commas:
max-spaces-after: -1
level: error
comments: disable
comments-indentation: disable
document-start: disable
empty-lines:
max: 3
level: error
hyphens:
level: error
indentation: disable
key-duplicates: enable
line-length: disable
new-line-at-end-of-file: disable
new-lines:
type: unix
trailing-spaces: disable
truthy: disable

+ 22
- 0
roles/matrix-coturn/molecule/default/INSTALL.rst Wyświetl plik

@@ -0,0 +1,22 @@
*******
Docker driver installation guide
*******

Requirements
============

* Docker Engine

Install
=======

Please refer to the `Virtual environment`_ documentation for installation best
practices. If not using a virtual environment, please consider passing the
widely recommended `'--user' flag`_ when invoking ``pip``.

.. _Virtual environment: https://virtualenv.pypa.io/en/latest/
.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site

.. code-block:: bash

$ python3 -m pip install 'molecule[docker]'

+ 7
- 0
roles/matrix-coturn/molecule/default/converge.yml Wyświetl plik

@@ -0,0 +1,7 @@
---
- name: Converge
hosts: all
tasks:
- name: "Include matrix-coturn"
include_role:
name: "matrix-coturn"

+ 13
- 0
roles/matrix-coturn/molecule/default/molecule.yml Wyświetl plik

@@ -0,0 +1,13 @@
---
dependency:
name: galaxy
driver:
name: docker
platforms:
- name: instance
image: docker.io/pycontribs/centos:8
pre_build_image: true
provisioner:
name: ansible
verifier:
name: ansible

+ 9
- 0
roles/matrix-coturn/molecule/default/verify.yml Wyświetl plik

@@ -0,0 +1,9 @@
---
# This is an example playbook to execute Ansible tests.

- name: Verify
hosts: all
tasks:
- name: Example assertion
assert:
that: true

Ładowanie…
Anuluj
Zapisz