diff options
author | Jonathan Bauer | 2018-08-21 18:23:49 +0200 |
---|---|---|
committer | Jonathan Bauer | 2018-08-21 18:23:49 +0200 |
commit | 782c29d293fd0b36770ad9cc23b43dcd78345732 (patch) | |
tree | 154424644aa5fa4ebd4f2a5fe79d47c5fbbdcf26 /mltk-core | |
parent | initial commit (diff) | |
download | ansible-bwlp-782c29d293fd0b36770ad9cc23b43dcd78345732.tar.gz ansible-bwlp-782c29d293fd0b36770ad9cc23b43dcd78345732.tar.xz ansible-bwlp-782c29d293fd0b36770ad9cc23b43dcd78345732.zip |
initial state
Diffstat (limited to 'mltk-core')
-rw-r--r-- | mltk-core/tasks/main.yml | 14 | ||||
-rw-r--r-- | mltk-core/tasks/repo.yml | 5 |
2 files changed, 19 insertions, 0 deletions
diff --git a/mltk-core/tasks/main.yml b/mltk-core/tasks/main.yml new file mode 100644 index 0000000..95a7cd7 --- /dev/null +++ b/mltk-core/tasks/main.yml @@ -0,0 +1,14 @@ +--- +- import_tasks: tasks/repo.yml + +- name: mltk | Install git + package: + name: git + state: present + +- name: mltk | Checkout repository + git: + repo: "{{ mltk_git_source }}" + dest: "{{ mltk_git_target }}" + version: "{{ mltk_git_branch }}" + depth: 1 diff --git a/mltk-core/tasks/repo.yml b/mltk-core/tasks/repo.yml new file mode 100644 index 0000000..b16f97a --- /dev/null +++ b/mltk-core/tasks/repo.yml @@ -0,0 +1,5 @@ +--- +- set_fact: + mltk_git_source: "git://git.openslx.org/openslx-ng/mltk" + mltk_git_target: "/opt/mltk" + mltk_git_branch: "installer" |