yaml配置git branch分支仓库

配置代码:

- git:
    repo: 'https://foosball.example.org/path/to/repo.git'
    dest: /srv/checkout
    version: release-0.22

参考:
https://docs.ansible.com/ansible/latest/modules/git_module.html#parameter-version

猜你喜欢

转载自blog.csdn.net/ternence_hsu/article/details/107410010