2022-08-02 22:29:56 +02:00

26 lines
612 B
YAML

---
# tasks file for deploy-web
- name: debug local
local_action:
module: git
repo: "git@gitlab.secu.pcc:descartes/isr-inventory.git"
dest: "/home/provisioner/src/isr-inventory"
archive: "/tmp/isr-inventory.tar.gz"
force: yes
track_submodules: yes
update: yes
key_file: "/home/provisioner/.ssh/id_rsa_toolbox"
run_once: True
become: yes
become_user: provisioner
- name: Create directory
file:
path: "/home/admloc/isr-inventory"
state: directory
- name: Extract repo isr
unarchive:
src: "/tmp/isr-inventory.tar.gz"
dest: "/home/admloc/isr-inventory"