Browse Source

Add role to install custom Linux/MacOS scripts

master
Maxim Likhachev 6 years ago
parent
commit
a8cea9a3fe
  1. 18
      roles/scripts-linux/tasks/main.yml
  2. 5
      roles/scripts-linux/vars/main.yml

18
roles/scripts-linux/tasks/main.yml

@ -0,0 +1,18 @@ @@ -0,0 +1,18 @@
---
- name: Clone repository with Linux scripts
git:
repo: "{{ scripts_git }}"
dest: "{{ scripts_path }}"
version: master
clone: yes
update: yes
force: no
ignore_errors: yes
- name: Install Linux scripts
make:
target: install
chdir: "{{ scripts_path }}"
ignore_errors: yes

5
roles/scripts-linux/vars/main.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
---
scripts_git: "https://code.envrm.info/src/scripts-linux.git"
scripts_path: "~/FILES/Projects/scripts-linux"
Loading…
Cancel
Save