Hi,
I’m trying to build Open Ondemand from source as our cluster runs on Ubuntu 18.04.
So I am using this ansible role: GitHub - OSC/ood-ansible: An ansible playbook for Open Ondemand
I changed the one occurrence of install_from_src: false
to install_from_src: true
.
I get this result when running a playbook that calls the role:
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.
The error appears to have been in '/home/dtenenba/dev/ood-ansible/ood-ansible/tasks/deps.yml': line 57, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: install all the gems we need
^ here
Just for fun I commented out lines 57-65 of tasks/deps.yml and then got this:
TASK [ood-ansible : include scl related overrides] *****************************
fatal: [192.168.0.122]: FAILED! => {"msg": "The conditional check '(not install_from_src) and (ansible_os_family == \"RedHat\" and ansible_distribution_major_version < '8')' failed. The error was: error while evaluating conditional ((not install_from_src) and (ansible_os_family == \"RedHat\" and ansible_distribution_major_version < '8')): 'install_from_src' is undefined\n\nThe error appears to have been in '/home/dtenenba/dev/ood-ansible/ood-ansible/tasks/main.yml': line 8, 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: include scl related overrides\n ^ here\n"}
to retry, use: --limit @/home/dtenenba/dev/ood-ansible/playbook.retry
Any ideas about these issues? I am very much an Ansible newbie but I think I figured out how to run a role from a playbook…
Thanks