How do i create a directory structure for a ansible role?
-
$ ansible-galaxy init myrole - myrole was created successfully
You might need to install the tree first.
$ tree myrole myrole ├── defaults │ └── main.yml ├── files ├── handlers │ └── main.yml ├── meta │ └── main.yml ├── README.md ├── tasks │ └── main.yml ├── templates ├── tests │ ├── inventory │ └── test.yml └── vars └── main.yml 8 directories, 8 files
© Lightnetics 2024