Add cache to minimize time for installing ansible collections
continuous-integration/drone Build is failing
Details
continuous-integration/drone Build is failing
Details
This commit is contained in:
parent
8f31d2dd3d
commit
d5c7597a04
|
@ -139,6 +139,9 @@ steps:
|
|||
- git push origin main
|
||||
- name: deploy image
|
||||
image: plugins/ansible:latest
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /root/.ansible
|
||||
settings:
|
||||
playbook: ansible/deploy_spring.yaml
|
||||
inventory: ansible/inventories/production
|
||||
|
@ -148,6 +151,11 @@ steps:
|
|||
vault_password:
|
||||
from_secret: vault_password
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
host:
|
||||
path: /var/lib/drone/cache/.ansible
|
||||
|
||||
trigger:
|
||||
# target:
|
||||
# - production
|
||||
|
|
Loading…
Reference in New Issue