Giter Club home page Giter Club logo

Comments (5)

xamanu avatar xamanu commented on July 17, 2024 1
  • Debian Buster
  • Ansible version 2.3.1.0

I'm having the same error message by one statement before:

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

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

The offending line appears to be:


- include_tasks: clock-rhel-6.yml
  ^ here


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

The offending line appears to be:


- include_tasks: clock-rhel-6.yml
  ^ here

removing - include_tasks: clock-rhel-6.yml fixes the problem for me.
Do you have any idea why this is happening? Thanks a lot.

from ansible-role-ntp.

mark-jordanovic-lewis avatar mark-jordanovic-lewis commented on July 17, 2024

After having a think it's likely that ntp_timezone is not set. So perhaps this is not an actual issue with the role. I'd still like some advice on how to deal with this, though.

from ansible-role-ntp.

geerlingguy avatar geerlingguy commented on July 17, 2024

That task is: https://github.com/geerlingguy/ansible-role-ntp/blob/master/tasks/main.yml#L19-L21

I'm guessing you may be running an older version of Ansible (ansible --version to check) which doesn't have the timezone module? This role requires I think 2.2 or later.

from ansible-role-ntp.

stale avatar stale commented on July 17, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

from ansible-role-ntp.

geerlingguy avatar geerlingguy commented on July 17, 2024

@xamanu - Ansible 2.3 likely doesn't work with include_tasks? That's my best guess. Also, to that original issue I noticed found a duplicate dict key (apt_upgrade). in there, maybe that was an issue elsewhere in the playbook?

Regardless, marking this as closed, can't reproduce.

from ansible-role-ntp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.