Skip to content

Commit b7e899e

Browse files
feat(command): Add ansible, ansible-playbook
1 parent e335448 commit b7e899e

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

.env

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
DEFAULT_ARCH=x86_64
22
ALPINE_VERSION=3.14.2
3+
ANSIBLE_VERSION=2.12
4+
ANSIBLE_BASE=alpine-3.15
35
AB_VERSION=latest
46
AWS_VERSION=2.4.24
57
DEFAULT_BASE_IMAGE=alpine

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ dockerized <command>
2525
- [aws](apps/aws/README.md)
2626
- [doctl](apps/doctl/README.md)
2727
- [s3cmd](apps/s3cmd/README.md)
28-
- Docker
28+
- Dev-Ops & Docker
29+
- ansible
30+
- ansible-playbook
2931
- helm
3032
- Languages & SDKs
3133
- [dotnet](apps/dotnet/README.md)

docker-compose.yml

+17-21
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ services:
99
args:
1010
ALPINE_VERSION: "${ALPINE_VERSION}"
1111
ALPINE_PACKAGES: "tree"
12+
ansible: &ansible
13+
image: "willhallonline/ansible:${ANSIBLE_VERSION}-${ANSIBLE_BASE}"
14+
entrypoint: [ "ansible" ]
15+
ansible-playbook:
16+
<<: *ansible
17+
entrypoint: [ "ansible-playbook" ]
1218
ab:
1319
<<: *alpine
1420
build:
@@ -31,7 +37,7 @@ services:
3137
args:
3238
ALPINE_VERSION: "${ALPINE_VERSION}"
3339
ALPINE_PACKAGES: "bash"
34-
entrypoint: ["/bin/bash"]
40+
entrypoint: [ "/bin/bash" ]
3541
doctl:
3642
image: "doctl:${DOCTL_VERSION}"
3743
build:
@@ -75,16 +81,6 @@ services:
7581
environment:
7682
GOOS: "${GOOS:-}"
7783
GOARCH: "${GOARCH:-}"
78-
# entrypoint: [ "runhaskell" ]
79-
# build:
80-
# context: apps/haskell
81-
# dockerfile: ../alpine/Dockerfile
82-
# args:
83-
# ALPINE_VERSION: "${ALPINE_VERSION}"
84-
# ALPINE_PACKAGES: "ghc cabal-install"
85-
# BUILD_SCRIPT_ARGS: "${HASKELL_VERSION}"
86-
# volumes:
87-
# - "${HOME:-}/.dockerized/apps/haskell:/root"
8884
helm:
8985
image: "alpine/helm:${HELM_VERSION}"
9086
http:
@@ -160,11 +156,11 @@ services:
160156
AWS_SECRET_ACCESS_KEY: "${AWS_SECRET_ACCESS_KEY:-}"
161157
volumes:
162158
- "${HOME:-}/.dockerized/apps/s3cmd:/root"
163-
# semantic-release-cli:
164-
# <<: *node
165-
# entrypoint: [ "npx", "--package=semantic-release-cli@${SEMANTIC_RELEASE_VERSION}", "semantic-release-cli" ]
166-
# volumes:
167-
# - "${HOME:-}/.dockerized/apps/gh:/root"
159+
# semantic-release-cli:
160+
# <<: *node
161+
# entrypoint: [ "npx", "--package=semantic-release-cli@${SEMANTIC_RELEASE_VERSION}", "semantic-release-cli" ]
162+
# volumes:
163+
# - "${HOME:-}/.dockerized/apps/gh:/root"
168164
swagger-codegen:
169165
image: "swaggerapi/swagger-codegen-cli-v3:${SWAGGER_CODEGEN_VERSION}"
170166
swipl:
@@ -199,10 +195,10 @@ services:
199195
args:
200196
ALPINE_VERSION: "${ALPINE_VERSION}"
201197
ALPINE_PACKAGES: "zip"
202-
entrypoint: ["/usr/bin/zip"]
198+
entrypoint: [ "/usr/bin/zip" ]
203199

204200
volumes:
205-
node_modules: {}
206-
python_modules: {}
207-
pip_cache: {}
208-
go_cache: {}
201+
node_modules: { }
202+
python_modules: { }
203+
pip_cache: { }
204+
go_cache: { }

0 commit comments

Comments
 (0)