Updated on 2023-05-26 GMT+08:00

Invalid Entry File Path

Symptoms

An error message is displayed, indicating that the file path is incorrect.

Cause Analysis

The entered file path is invalid.

Solution

Enter the relative path of the directory generated after the playbook package is decompressed.

  • If the directory after decompression is similar to that shown in the following figure, the entry file path is AnsibleDemo/install.yml.
    Figure 1 Directory generated after the playbook package is decompressed

    The following figure shows the structure of the AnsibleDemo directory:

    Figure 2 AnsibleDemo directory structure
  • If the directory after decompression is similar to that shown in the following figure, the entry file path is install.yml.
    Figure 3 Directory structure after the playbook package is decompressed

Ansible FAQs

more