Answers for "import vs include command in ansible"

0

import vs include command in ansible

PLAY [localhost] **************************************************************************************

TASK [debug] ******************************************************************************************
ok: [localhost] => {
    "msg": "Hello world!"
}

TASK [include_role : example] *************************************************************************
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/Users/jwadleig/Projects/ansible-example-include-vs-import/roles/example/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:

    role_setfact_var: testvalue
- debugger:
  ^ 

  to retry, use: --limit @/Users/jwadleig/Projects/ansible-example-include-vs-import/test.retry

PLAY RECAP ********************************************************************************************
localhost                  : ok=1    changed=0    unreachable=0    failed=0
Posted by: Guest on October-14-2020

Browse Popular Code Answers by Language