mirror of
https://gitlab.durp.info/durfy/runbooks/ansible.git
synced 2026-05-07 08:00:29 -05:00
update
This commit is contained in:
parent
78de64ecb0
commit
24b8ffa59c
1 changed files with 4 additions and 0 deletions
|
|
@ -16,8 +16,12 @@ ansible-base:
|
||||||
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)
|
||||||
|
- chmod 400 "$SSH_PRIVATE_KEY"
|
||||||
|
- ssh-add "$SSH_PRIVATE_KEY"
|
||||||
script:
|
script:
|
||||||
- ansible-playbook $CI_PROJECT_DIR/ansible/base.yaml
|
- ansible-playbook $CI_PROJECT_DIR/ansible/base.yaml
|
||||||
rules:
|
rules:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue