22 lines
559 B
YAML
22 lines
559 B
YAML
---
|
|
# tasks file for server
|
|
|
|
- name: git archive local
|
|
local_action:
|
|
module: git
|
|
repo: "https://{{ git_username | urlencode }}:{{ git_password | urlencode }}@git.valczeryba.ovh/v4l3n71n/covas-liquibase.git"
|
|
dest: "/home/valentin/src/"
|
|
archive: "/tmp/covas-liquibase.tar.gz"
|
|
force: yes
|
|
update: yes
|
|
run_once: True
|
|
|
|
- name: Create directory
|
|
file:
|
|
path: "/home/valentin/covas-liquibase"
|
|
state: directory
|
|
|
|
- name: Extract repo isr
|
|
unarchive:
|
|
src: "/tmp/covas-liquibase.tar.gz"
|
|
dest: "/home/valentin/covas-liquibase" |