Skip to content

Commit

Permalink
Merge pull request #152 from arillso/fix/ansible-inventory
Browse files Browse the repository at this point in the history
fix: ansible-inventory
  • Loading branch information
sbaerlocher authored Nov 28, 2023
2 parents 7fc9798 + c48da34 commit 9568da6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
and [human-readable changelog](https://keepachangelog.com/en/1.0.0/).

## master 28.11.2023

### Fixed

- Improved integration of `ansible-inventory`. This fix involves changes to the `Dockerfile`, including:
- Addition of 3 lines.
- Removal of 3 lines.
- Changes primarily focus on copying and linking files related to `ansible-inventory`.

## master 09.11.2023

- chore(requirements): add falconpy library to docker req for crowdstrike installation
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,11 @@ LABEL "maintainer"="Simon Baerlocher <[email protected]>" \
COPY --from=builder /usr/lib/python3.11/site-packages/ /usr/lib/python3.11/site-packages/
COPY --from=builder /usr/bin/ansible /usr/bin/ansible
COPY --from=builder /usr/bin/ansible-connection /usr/bin/ansible-connection
COPY --from=builder /usr/bin/ansible-playbook /usr/bin/ansible-playbook
COPY --from=builder /usr/bin/ansible-galaxy /usr/bin/ansible-galaxy
COPY --from=builder /usr/bin/kustomize /usr/bin/kustomize
COPY --from=builder /usr/bin/ansible-inventory /usr/bin/ansible-inventory
COPY --from=builder /usr/bin/ansible-playbook /usr/bin/ansible-playbook
COPY --from=builder /usr/bin/kubectl /usr/bin/kubectl
COPY --from=builder /usr/bin/kustomize /usr/bin/kustomize

# Create the ansible user and set up directories
RUN set -eux \
Expand Down Expand Up @@ -154,7 +155,6 @@ RUN set -eux \
&& ln -sf ansible /usr/bin/ansible-config \
&& ln -sf ansible /usr/bin/ansible-console \
&& ln -sf ansible /usr/bin/ansible-doc \
&& ln -sf ansible /usr/bin/ansible-inventory \
&& ln -sf ansible /usr/bin/ansible-pull \
&& ln -sf ansible /usr/bin/ansible-test \
&& ln -sf ansible /usr/bin/ansible-vault \
Expand Down

0 comments on commit 9568da6

Please sign in to comment.