Skip to content
Snippets Groups Projects
Commit ccb7c8e8 authored by nimrod's avatar nimrod
Browse files

- Added Systemd assertion to workstation playbook.

- Added Leiningen installation to workstation playbook.
parent 8c37ca76
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
assert: assert:
that: that:
- ansible_pkg_mgr == 'apt' - ansible_pkg_mgr == 'apt'
- ansible_service_mgr == 'systemd'
- name: APT install - name: APT install
with_items: with_items:
...@@ -117,3 +118,17 @@ ...@@ -117,3 +118,17 @@
- vagrant-gatling-rsync - vagrant-gatling-rsync
command: 'vagrant plugin install {{ item }}' command: 'vagrant plugin install {{ item }}'
changed_when: False changed_when: False
- name: Get Leiningen
get_url:
url: https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
dest: /usr/local/bin/lein
owner: root
group: root
mode: 0o0755
- name: Install Leiningen
become: False
command: lein
register: install_leiningen
changed_when: "'Downloading Leiningen' in install_leiningen.stdout"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment