molecule.yml 37 lignes · 912 octets
---
# Scénario « supervision » : site.yml avec la supervision locale (OI-054) sur Debian 13 et Ubuntu 26.04 (cibles conteneur, D-018).
# Lancement depuis ansible/ : ../.venv/bin/molecule test -s supervision
ansible:
  cfg:
    defaults:
      host_key_checking: false
      nocows: true
      roles_path: roles
      callback_result_format: yaml
    ssh_connection:
      pipelining: true
  env:
    OIAM_CIBLE_PREFIXE: molecule-supervision
    OIAM_CIBLE_PORT: "2252"
  executor:
    backend: ansible-playbook
    args:
      ansible_playbook:
        - --inventory=${MOLECULE_SCENARIO_DIRECTORY}/inventory.yml
  playbooks:
    create: create.yml
    prepare: prepare.yml
    converge: converge.yml
    destroy: destroy.yml
    verify: verify.yml
scenario:
  name: supervision
  test_sequence:
    - destroy
    - syntax
    - create
    - prepare
    - converge
    - idempotence
    - verify
    - destroy