Which folder does not require main.yml file?
Answers
Answered by
0
Roles expect files to be in certain directory names. Roles must include at least one of these directories, however it is perfectly fine to exclude any which are not being used. When in use, each directory must contain a main.yml file
Answered by
0
Folders that does not require main.yml file are:
- Roles directory structure must include atleast on of the directories, it is perfectly fine to exclude files that are not being used.
- Each diectory should contain main.yml file, which contain relevant contents.
- Documentation states that main.yml must be present in all directories in a playbook role.
- Ansible roles uses each of those files as the entry point for reading the contents of the directory.
Similar questions
Math,
6 months ago
Environmental Sciences,
6 months ago
English,
1 year ago
Computer Science,
1 year ago
English,
1 year ago