如何使用ansible-galaxy安装所有角色而不跳过任何角色?

时间:2020-04-22 11:58:07

标签: git ansible ansible-galaxy

我们正尝试使用ansible-galaxy requirements.yml从git安装角色,但是克隆时会跳过2个角色。

command: ansible-galaxy install ssh://git@emea-aws-gitlab.sanofi.com:2222/idop-automation-team/ansible/common-utilities.git

角色: 毗 AD_join1 configure_backup / configure_monitoring / 电子邮件通知/ enable_controlm / host_reachability /

AD_join和AD_join1是错过的角色

output of ansible-galaxy install ssh://git@emea-aws-gitlab.sanofi.com:2222/idop-automation-team/ansible/common-utilities.git -vvvv 
ansible-galaxy 2.9.4
20   config file = /etc/ansible/ansible.cfg
21   configured module search path = [u'/home/gitlab-runner/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
22   ansible python module location = /usr/lib/python2.7/dist-packages/ansible
23   executable location = /usr/bin/ansible-galaxy
24   python version = 2.7.17 (default, Nov  7 2019, 10:07:09) [GCC 7.4.0]
25 Using /etc/ansible/ansible.cfg as config file
26 Reading requirement file at 'playbooks/requirements.yml'
27 found role {'scm': 'git', 'src': 'ssh://git@emea-aws-gitlab.sanofi.com:2222/idop-automation-team/ansible/common-utilities.git', 'version': '', 'name': 'common-utilities'} in yaml file
28 Processing role common-utilities
29 archiving ['/usr/bin/git', 'archive', '--prefix=common-utilities/', u'--output=/home/gitlab-runner/.ansible/tmp/ansible-local-518eOXk8v/tmpKTPqp1.tar', 'HEAD']
30 - extracting common-utilities to /home/gitlab-runner/builds/pbYfs623/0/idop-automation-team/ansible/test_windows_service_down/playbooks/roles/common-utilities
31 - common-utilities was installed successfully```

0 个答案:

没有答案
相关问题