diff options
| author | Jan Tuomi <jan.tuomi@eficode.com> | 2019-12-28 22:42:18 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan.tuomi@eficode.com> | 2019-12-28 22:42:18 +0200 |
| commit | 2e236ca7a1f05087691ef2aae3581f23e303d334 (patch) | |
| tree | dee58a3e61a629961e9439d1e7bf292d6bcba404 /.gitlab-ci.yml | |
| parent | 3405570d59e2aaf88c80c138ae47593026a97ebe (diff) | |
Use ubuntu:18.04 image in CI0.0.13
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fddf2bc..31ac855 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,9 +21,12 @@ publish: deploy: stage: deploy - image: williamyeh/ansible:alpine3 + image: ubuntu:18.04 only: - tags script: + - apt-add-repository ppa:ansible/ansible + - apt update + - apt install ansible -y - chmod 600 "$SSH_PRIVATE_KEY_FILE" - ansible-playbook --private-key "$SSH_PRIVATE_KEY_FILE" -i "$INVENTORY_FILE" -e "image_name=$IMAGE" -u root ansible/deploy-playbook.yaml |
