Repo structure:
- xyz
- lmn
- a.yml
- roles
- test
- tasks
- vars ...
- test
- lmn
I want ansible pull to download xyz repo but run a.yml file after download. Is this something possible?
Run output:
[root@GHOST]# ansible-pull -U https://xyz.git -i 127.0.0.1 -d . lmn/a.yml
Starting Ansible Pull at 2021-07-05 09:13:48
/bin/ansible-pull -U https://xyz.git -i 127.0.0.1 -d . lmn/a.yml
[WARNING]: Could not match supplied host pattern, ignoring: GHOST
Username for 'https://github.com': xxxxxx
Password for 'https://[email protected]':
localhost | FAILED! => { "changed": false, "msg": "Failed to init/update submodules: Submodule 'qwerty/truth/best' (https://github.com/hello.git) registered for path 'qwerty/truth/best'\nNo submodule mapping found in .gitmodules for path 'busy/cookbooks/cook'\n" }