File tree 2 files changed +23
-4
lines changed 2 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,10 @@ ARG TARGETARCH
60
60
# renovate: source=github-releases dep=google/go-containerregistry
61
61
ARG crane_version=0.20.2
62
62
63
- RUN case ${TARGETARCH} in "arm64" ) amr64 ;; "amd64" ) file=x86_64 ;; esac \
63
+ RUN case ${TARGETARCH} in "arm64" ) file= amr64 ;; "amd64" ) file=x86_64 ;; esac \
64
64
&& curl -fsSL "https://github.com/google/go-containerregistry/releases/download/v${crane_version}/go-containerregistry_Linux_${file}.tar.gz" \
65
65
| tar -xzf - \
66
- && curl -fsSL https://mirror.openshift.com/pub/openshift-v4/x86_64 /clients/ocp/4.9.9 /openshift-client-linux.tar.gz \
66
+ && curl -fsSL " https://mirror.openshift.com/pub/openshift-v4/${file} /clients/ocp/4.17.5 /openshift-client-linux.tar.gz" \
67
67
| tar -xzf - -C /tmp \
68
68
&& cp /tmp/oc .
69
69
Original file line number Diff line number Diff line change 4
4
5
5
[ ![ License] ( https://img.shields.io/badge/License-MIT-blue?style=flat-square&link=https://github.com/kloudkit/ansible-controller?tab=MIT-1-ov-file#MIT-1-ov-file )] ( https://github.com/kloudkit/ansible-controller?tab=MIT-1-ov-file#MIT-1-ov-file )
6
6
7
- ## Documentation
7
+ [ ![ Latest] ( https://img.shields.io/github/v/release/kloudkit/ansible-controller?style=flat-square )] ( https://github.com/kloudkit/ansible-controller/releases )
8
+
9
+ The * Ansible Controller* is a lightweight, containerized solution for managing your
10
+ Ansible playbooks.
11
+ Simplify your configuration management with a pre-configured, ready-to-use Ansible
12
+ environment that runs seamlessly in Docker.
13
+
14
+ ## Usage
8
15
9
16
The image includes a default inventory * (` /etc/ansible/hosts ` )* named ` controller ` that
10
17
runs on ` localhost ` without root privileges.
@@ -26,13 +33,25 @@ To use it, copy the following example playbook:
26
33
27
34
` ` ` sh
28
35
docker run --rm \
36
+ # Mount local playbooks directory
29
37
-v ./playbooks:/workspace \
30
38
ghcr.io/kloudkit/ansible-controller \
39
+ # Set playbook variables
31
40
-e FOO=bar \
32
- /workspace/play.yaml
41
+ # Specify the playbook to run
42
+ play.yaml
33
43
```
34
44
45
+ ## Contribute
46
+
47
+ Want to help make this project even better?
48
+
49
+ Contribute to * Ansible Controller* by reporting [ issues] [ ] or submitting [ pull requests] [ ] .
50
+
35
51
## License
36
52
37
53
This project is licensed under the
38
54
[ ** MIT License** ] ( https://github.com/kloudkit/ansible-controller?tab=MIT-1-ov-file#MIT-1-ov-file )
55
+
56
+ [ issues ] : https://github.com/kloudkit/ansible-controller/issues/new/choose
57
+ [ pull requests ] : https://github.com/kloudkit/ansible-controller/compare
You can’t perform that action at this time.
0 commit comments