【Ansible】Role利用する際のディレクトリ構造をセットする

こちらのコマンドを実行する。
あとは、よしなにファイルをいじる。
1 |
ansible-galaxy init --offline test |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
➜ ansible git:(main) ✗ tree test test ├── README.md ├── defaults │ └── main.yml ├── files ├── handlers │ └── main.yml ├── meta │ └── main.yml ├── tasks │ └── main.yml ├── templates ├── tests │ ├── inventory │ └── test.yml └── vars └── main.yml 9 directories, 8 files |