This commit is contained in:
DeveloperDurp 2026-02-04 05:12:28 -06:00
parent 63c5b382a0
commit 23b6f94640

View file

@ -16,18 +16,21 @@ variables:
stages: stages:
- script - script
ansible-base: .ansible:
stage: script stage: script
variables: variables:
DEBIAN_FRONTEND: noninteractive DEBIAN_FRONTEND: noninteractive
image: image:
name: registry.durp.info/ubuntu:latest name: registry.durp.info/ubuntu:latest
before_script: before_script:
- apt update && apt install tzdata ansible python3-pip -y - apt update && apt install tzdata ansible python3-pip -y
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- chmod 400 "$SSH_PRIVATE_KEY" - chmod 400 "$SSH_PRIVATE_KEY"
- ssh-add "$SSH_PRIVATE_KEY" - ssh-add "$SSH_PRIVATE_KEY"
ansible-base:
extends: .ansible
script: script:
- ansible-playbook $CI_PROJECT_DIR/ansible/base.yaml - ansible-playbook $CI_PROJECT_DIR/ansible/base.yaml
rules: rules: