ANSIBLE how tofix misspelled module name openssh_keypair

gremlintv2 asked:

For this task:

  - name: "Generate ssh keypair"
    openssh_keypair:
      path: /tmp/ddd_id_rsa

Get this error:

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

How to fix this trouble(the other tasks at same playbook works fine)?

Regards

My answer:


You’re trying to use a module from a pre-release version of Ansible. You will either need to wait for the feature to be released (in 2.8, according to the docs) or run the git branch of ansible in which it is being developed.


View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.