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 /master-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 'master-centos7-onbuild/ansible-playbook-wrapper')
-rwxr-xr-x | master-centos7-onbuild/ansible-playbook-wrapper | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/master-centos7-onbuild/ansible-playbook-wrapper b/master-centos7-onbuild/ansible-playbook-wrapper index 0ba45e6..dcc6723 100755 --- a/master-centos7-onbuild/ansible-playbook-wrapper +++ b/master-centos7-onbuild/ansible-playbook-wrapper | |||
@@ -23,6 +23,7 @@ if [ -z "$REQUIREMENTS" ]; then | |||
23 | fi | 23 | fi |
24 | 24 | ||
25 | if [ -f "$REQUIREMENTS" ]; then | 25 | if [ -f "$REQUIREMENTS" ]; then |
26 | yum -y install git | ||
26 | ansible-galaxy install -r $REQUIREMENTS | 27 | ansible-galaxy install -r $REQUIREMENTS |
27 | fi | 28 | fi |
28 | 29 | ||