Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Detect tomcat version upgrade error #32

Open
dracic opened this issue Jun 7, 2017 · 2 comments
Open

Detect tomcat version upgrade error #32

dracic opened this issue Jun 7, 2017 · 2 comments

Comments

@dracic
Copy link

dracic commented Jun 7, 2017

I'm getting error when using default setup:

TASK [ansible-tomcat : Detect version upgrade] *********************************
fatal: [ansibletomcattest]: FAILED! => {"failed": true, "msg": "The conditional check 'ansible_local.tomcat.general.version is defined' failed. The error was: error while evaluating conditional (ansible_local.tomcat.general.version is defined): 'dict object' has no attribute 'general'\n\nThe error appears to have been in '/home/dracic/git/ansible-tomcat/tasks/main.yml': line 35, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Detect version upgrade\n ^ here\n"}

Can anyone help about this error message?

@dracic
Copy link
Author

dracic commented Jun 7, 2017

I'm using Fedora 26:

ansible 2.3.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.13 (default, May 10 2017, 20:04:28) [GCC 6.3.1 20161221 (Red Hat 6.3.1-1)]

@aelkz
Copy link

aelkz commented Jul 14, 2017

I have to comment this step in this task.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants