dokku / ansible-dokku

Ansible modules for installing and configuring Dokku
MIT License
176 stars 44 forks source link

dokku_docker_options docs differ from implemenetation on options field #65

Closed jbothma closed 4 years ago

jbothma commented 4 years ago

Description of problem

dokku_docker_options documents options field that is a list of strings, but expects `option field that is a string

How reproducible

Use options field in dokku_docker_options task

Steps to Reproduce

    - name: "Index data mapped out to host at deploy time"
      dokku_docker_options:
        app: "{{ app_name }}"
        phase: deploy
        options:
            - "-v /var/{{ app_name }}/data:/usr/share/elasticsearch/data"

Actual Results

FAILED! => {"changed": false, "msg": "Unsupported parameters for (dokku_docker_options) module: options Supported parameters include: app, option, phase, state"}

Expected Results

All options in options list set on the app

Environment Information

ansible-galaxy install --force dokku_bot.ansible_dokku,v2020.3.24
josegonzalez commented 4 years ago

Closed by #69.