mirror of
https://github.com/roles-ansible/ansible_role_ranger.git
synced 2024-08-16 14:19:48 +02:00
Fix old variable names
This commit is contained in:
parent
255ee8a19a
commit
6e1de08ac7
1 changed files with 6 additions and 6 deletions
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
- name: download ranger git repo
|
||||
git:
|
||||
repo: "{{ ranger_repo }}"
|
||||
dest: "{{ ranger_download_directory }}"
|
||||
version: "{{ ranger_branch }}"
|
||||
repo: "{{ ranger.repo }}"
|
||||
dest: "{{ ranger.download_directory }}"
|
||||
version: "{{ ranger.branch }}"
|
||||
|
||||
- name: install build packages
|
||||
become: true
|
||||
|
@ -17,7 +17,7 @@
|
|||
- name: Run 'install' target as root
|
||||
become: yes
|
||||
make:
|
||||
chdir: "{{ ranger_download_directory }}"
|
||||
chdir: "{{ ranger.download_directory }}"
|
||||
target: install
|
||||
when: ansible_python_version[:1] == '3'
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
|||
become: yes
|
||||
command: python3 setup.py install --optimize=1
|
||||
args:
|
||||
chdir: "{{ ranger_download_directory }}"
|
||||
chdir: "{{ ranger.download_directory }}"
|
||||
creates: '/usr/local/bin/ranger'
|
||||
when: not install_python3.failed
|
||||
|
||||
|
@ -41,6 +41,6 @@
|
|||
become: yes
|
||||
command: python setup.py install --optimize=1
|
||||
args:
|
||||
chdir: "{{ ranger_download_directory }}"
|
||||
chdir: "{{ ranger.download_directory }}"
|
||||
creates: '/usr/local/bin/ranger'
|
||||
when: install_python3.failed
|
||||
|
|
Loading…
Reference in a new issue