diff options
author | William Yeh <william.pjyeh@gmail.com> | 2016-06-14 15:59:32 +0800 |
---|---|---|
committer | William Yeh <william.pjyeh@gmail.com> | 2016-06-14 15:59:32 +0800 |
commit | b1f3718d07a6a68116eb98bcb2156af7b39c2259 (patch) | |
tree | 66d2b0faf0f33d7ac0257c786df9f445fbeff024 /centos7-onbuild/ansible-playbook-wrapper | |
parent | d707bce5e4201a69438ba58c6500346999fa68df (diff) | |
download | docker-ansible-b1f3718d07a6a68116eb98bcb2156af7b39c2259.tar.gz docker-ansible-b1f3718d07a6a68116eb98bcb2156af7b39c2259.tar.zst docker-ansible-b1f3718d07a6a68116eb98bcb2156af7b39c2259.zip |
Add: `git` for onbuild variants; handy tools for others.
@see https://github.com/William-Yeh/docker-ansible/issues/18
@see https://github.com/William-Yeh/docker-ansible/issues/20
Diffstat (limited to 'centos7-onbuild/ansible-playbook-wrapper')
-rwxr-xr-x | centos7-onbuild/ansible-playbook-wrapper | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/centos7-onbuild/ansible-playbook-wrapper b/centos7-onbuild/ansible-playbook-wrapper index 002158d..7f4be5c 100755 --- a/centos7-onbuild/ansible-playbook-wrapper +++ b/centos7-onbuild/ansible-playbook-wrapper | |||
@@ -22,6 +22,7 @@ if [ -z "$REQUIREMENTS" ]; then | |||
22 | fi | 22 | fi |
23 | 23 | ||
24 | if [ -f "$REQUIREMENTS" ]; then | 24 | if [ -f "$REQUIREMENTS" ]; then |
25 | yum -y install git | ||
25 | ansible-galaxy install -r $REQUIREMENTS | 26 | ansible-galaxy install -r $REQUIREMENTS |
26 | fi | 27 | fi |
27 | 28 | ||