mirror of
https://github.com/roles-ansible/ansible_role_ranger.git
synced 2024-08-16 14:19:48 +02:00
create variable for build deps
This commit is contained in:
parent
05703421ea
commit
5c141b38f7
2 changed files with 6 additions and 4 deletions
|
@ -7,3 +7,8 @@ ranger:
|
|||
repo: 'https://github.com/ranger/ranger.git'
|
||||
branch: 'master'
|
||||
download_directory: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads/ranger') }}"
|
||||
|
||||
ranger__build_deps:
|
||||
- make
|
||||
- git
|
||||
- vim
|
||||
|
|
|
@ -8,10 +8,7 @@
|
|||
- name: install build packages
|
||||
become: true
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- make
|
||||
- git
|
||||
- vim
|
||||
name: "{{ ranger__build_deps }}"
|
||||
state: present
|
||||
|
||||
- name: Run 'install' target as root
|
||||
|
|
Loading…
Reference in a new issue