remyma / ansible-karaf-module

Ansible module to manage karaf console commands.
5 stars 5 forks source link

can not run under karaf 4.2.6 #8

Open minikiller opened 5 years ago

minikiller commented 5 years ago

hi: first i create a yaml file:

- hosts: localhost
  tasks:
    - name: get repo
      karaf_repo: state=present url="mvn:org.apache.camel.karaf/apache-camel/2.18.1/xml/features"
    - name: try a bundle
      karaf_bundle: state="present" url="mvn:org.apache.camel/camel-example-osgi/2.15.2"

Then i run ansible-playbook, it show following error:

PLAY [localhost] *************************************************************************************

TASK [Gathering Facts] *******************************************************************************
ok: [localhost]

TASK [get repo] **************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "client: Ignoring predefined value for KARAF_

PLAY RECAP *******************************************************************************************
localhost                  : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0

please help me to solve this problem! thanks