question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ansible install does not work

See original GitHub issue

I’ve started evaluating this project once again after a long break. I’m getting the following error when I try to deploy using ansible

ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/etc/ansible/roles/openwisp.openwisp2/tasks/main.yml': line 3, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

## tasks
- import_tasks: variables.yml
  ^ here


The error appears to have been in '/etc/ansible/roles/openwisp.openwisp2/tasks/main.yml': line 3, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

## tasks
- import_tasks: variables.yml
  ^ here

Things work when I replace import_tasks with include.

ansible version - 2.3.1.0 Ubuntu 16.04.2 LTS

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
nemesisdesigncommented, Jan 8, 2018

@UtkarshVerma thx for helping out! 👍

0reactions
UtkarshVermacommented, Jan 7, 2018

Edit the readme and create the pull request

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command 'ansible' not found after correct installation with pip3
It looks that the problem is that ansible is being installed in a local folder instead of the global /usr/lib/python3/dist-packages and ...
Read more >
Why can't I find ansible when I install it using setup.py?
I think the main problem is that no symlink is created in /user/local/bin/ to the ansible package. But I have no idea how...
Read more >
Installing Ansible
The managed node (the machine that Ansible is managing) does not require Ansible to be installed, but requires Python 2.7, or Python 3.5...
Read more >
Ansible installed via pip3, but Ansible commands not found
python3 -m pip install --user ansible. Now it is working :) :~$ ansible --version ansible [core 2.13.1] config file = None configured module ......
Read more >
Installing and Upgrading Ansible with *pip - Medium
You can install Ansible on many systems with pip. Pip is the main Python package manager. Prerequisites for installing pip: If pip is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found