Sign inSign up

dweiss96/ansible_ci

By dweiss96

•Updated about 2 years ago
Archived

This image includes rsync, ssh, python and ansible to have a faster spinup for CI-Jobs using ansible

Image
Integration & delivery
Developer tools
0

507

dweiss96/ansible_ci repository overview

Should be used with GitlabCI or Github actions.

The following gitlab-ci.yml can be used as a guideline:

default:
  image: dweiss96/ansible_ci

  before_script:
    - chmod 400 "$SSH_PRIVATE_KEY"
    - ssh-add "$SSH_PRIVATE_KEY"

    - cp "$SSH_KNOWN_HOSTS" ~/.ssh/known_hosts
    - chmod 644 ~/.ssh/known_hosts

deploy1:
  stage: deploy
  script:
    - ansible-playbook -i inventory1.yml site.yml

deploy2:
  stage: deploy
  script:
    - ansible-playbook -i inventory2.yml site.yml

Tag summary

Content type

Image

Digest

sha256:3fe4eaf20…

Size

499.4 MB

Last updated

about 2 years ago

docker pull dweiss96/ansible_ci