mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-18 14:34:24 +02:00
22 lines
708 B
YAML
22 lines
708 B
YAML
---
|
|
- name: "load docker, db and proxy for {{application_id}}"
|
|
include_role:
|
|
name: cmp-db-docker-proxy
|
|
|
|
- name: "create directory {{import_directory_host}}"
|
|
file:
|
|
path: "{{import_directory_host}}"
|
|
state: directory
|
|
mode: 0755
|
|
|
|
- name: "Copy import files to {{ import_directory_host }}"
|
|
template:
|
|
src: "{{ item }}"
|
|
dest: "{{ import_directory_host }}/{{ item | basename | regex_replace('\\.j2$', '') }}"
|
|
mode: '770'
|
|
loop: "{{ lookup('fileglob', '{{ role_path }}/templates/import/*.j2', wantlist=True) }}"
|
|
notify: docker compose up
|
|
|
|
# Deactivated temporary. Import now via realm.yml
|
|
#- name: Implement SSH Public Key Attribut
|
|
# include_tasks: attributes/ssh_public_key.yml |