[Packages] Preinstall ansible collections
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5dfc888609
commit
8cd300aec4
@ -27,5 +27,5 @@ steps:
|
|||||||
|
|
||||||
# tags
|
# tags
|
||||||
tags:
|
tags:
|
||||||
- 'v0.4'
|
- 'v0.5'
|
||||||
- 'latest'
|
- 'latest'
|
||||||
|
@ -30,3 +30,10 @@ RUN pip3 install --upgrade pip
|
|||||||
RUN pip3 install ansible-base==${ANSIBLE_VERSION}
|
RUN pip3 install ansible-base==${ANSIBLE_VERSION}
|
||||||
RUN pip3 install ansible-lint==${ANSIBLE_LINT_VERSION}
|
RUN pip3 install ansible-lint==${ANSIBLE_LINT_VERSION}
|
||||||
RUN pip3 install yamllint==${YAML_LINT_VERSION}
|
RUN pip3 install yamllint==${YAML_LINT_VERSION}
|
||||||
|
|
||||||
|
|
||||||
|
# install ansible collections
|
||||||
|
RUN ansible-galaxy collection install ansible.posix
|
||||||
|
RUN ansible-galaxy collection install community.docker
|
||||||
|
RUN ansible-galaxy collection install community.general
|
||||||
|
RUN ansible-galaxy collection install community.mysql
|
||||||
|
13
README.md
13
README.md
@ -1,4 +1,15 @@
|
|||||||
[![Build Status](https://ci.simoncor.net/api/badges/siempie/ansible-deployment-container/status.svg)](https://ci.simoncor.net/siempie/ansible-deployment-container)
|
[![Build Status](https://ci.simoncor.net/api/badges/siempie/ansible-deployment-container/status.svg)](https://ci.simoncor.net/siempie/ansible-deployment-container)
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
Small Alpine container with only ansible, ansible-linter and yamllint. Useful for CI/CD pipelines.
|
Small Alpine container useful for an Ansible linter pipeline. Useful for CI/CD pipelines.
|
||||||
|
|
||||||
|
# Preinstalled software
|
||||||
|
- ansible-base == 2.10.17
|
||||||
|
- ansible-lint == 5.4.0
|
||||||
|
- yamllint == 1.26.3
|
||||||
|
|
||||||
|
# Ansible collections
|
||||||
|
- ansible.posix == latest
|
||||||
|
- community.docker == latest
|
||||||
|
- community.general == latest
|
||||||
|
- community.mysql == latest
|
||||||
|
Loading…
Reference in New Issue
Block a user