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'
|
repo: 'https://github.com/ranger/ranger.git'
|
||||||
branch: 'master'
|
branch: 'master'
|
||||||
download_directory: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads/ranger') }}"
|
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
|
- name: install build packages
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name:
|
name: "{{ ranger__build_deps }}"
|
||||||
- make
|
|
||||||
- git
|
|
||||||
- vim
|
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Run 'install' target as root
|
- name: Run 'install' target as root
|
||||||
|
|
Loading…
Reference in a new issue