Skip to content

Ansible 2.2 does not allow "log_driver: none" #1087

@robertdebock

Description

@robertdebock

Issue Type

  • Bug report

Molecule and Ansible details

ansible --version
ansible 2.2.3.0
  config file = 
  configured module search path = Default w/o overrides

molecule --version
molecule, version 2.6.0
  • Molecule installation method: pip
  • Ansible installation method: pip

Desired Behaviour

Molecule would be able to test using Ansible 2.2, as that is what's described in README.md.

Actual Behaviour (Bug report only)

Molecule now fails when using Ansible 2.2 with this error:

"msg": "value of log_driver must be one of: json-file,syslog,journald,gelf,fluentd,awslogs,splunk, got: none"

This error can be seen on Travis, with this code from GitHub

I think either:

  • Ansible 2.3 or higher should be supported. (in that case change README.md)
  • or the log_driver should be changed to something that is supported. (in that case change create.yml in molecule/cookiecutter/scenario/driver/docker/%7B%7Bcookiecutter.molecule_directory%7D%7D/%7B%7Bcookiecutter.scenario_name%7D%7D/)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions