rougail-tutorials/Rougail/socle/04-apero.yml
Emmanuel Garette 0fbde320ae [tutorial Rougail 2.1] a choice option
Apero configuration
===================

Login is now mandatory
Use an existant user login

---
env_apero:
  access:
    - login: srep
      password: oIJuheu27__u2
    - login: snom
      password: oIJuheu27__u2
env_srep:
  apero_user: srep

Examples of Ops inventory file
==============================

1/ INVALID, use an unexisted user:

---
env_apero:
  access:
    - login: srep
      password: oIJuheu27__u2
    - login: snom
      password: oIJuheu27__u2
env_srep:
  apero_user: unknown
2023-12-18 11:34:33 +01:00

32 lines
722 B
YAML

---
version: '1.0'
env_apero:
description: Apero service
access:
description: Add access informations to Apero service
help: |
To access to Apero service, other services need an account and
a password.
type: leadership
login:
description: Login name
help: |
The account name is typically the name of foreign services.
type: unix_user
multi: true
test:
- srep
password:
description: Password
type: secret
env_srep:
description: SREP service
apero_user:
description: Account to access to Apero service
type: choice
choices:
type: variable
variable: socle.env_apero.access.login
test:
- srep