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
|
- name: download ranger git repo
|
||||||
git:
|
git:
|
||||||
repo: "{{ ranger_repo }}"
|
repo: "{{ ranger.repo }}"
|
||||||
dest: "{{ ranger_download_directory }}"
|
dest: "{{ ranger.download_directory }}"
|
||||||
version: "{{ ranger_branch }}"
|
version: "{{ ranger.branch }}"
|
||||||
|
|
||||||
- name: install build packages
|
- name: install build packages
|
||||||
become: true
|
become: true
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
- name: Run 'install' target as root
|
- name: Run 'install' target as root
|
||||||
become: yes
|
become: yes
|
||||||
make:
|
make:
|
||||||
chdir: "{{ ranger_download_directory }}"
|
chdir: "{{ ranger.download_directory }}"
|
||||||
target: install
|
target: install
|
||||||
when: ansible_python_version[:1] == '3'
|
when: ansible_python_version[:1] == '3'
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
become: yes
|
become: yes
|
||||||
command: python3 setup.py install --optimize=1
|
command: python3 setup.py install --optimize=1
|
||||||
args:
|
args:
|
||||||
chdir: "{{ ranger_download_directory }}"
|
chdir: "{{ ranger.download_directory }}"
|
||||||
creates: '/usr/local/bin/ranger'
|
creates: '/usr/local/bin/ranger'
|
||||||
when: not install_python3.failed
|
when: not install_python3.failed
|
||||||
|
|
||||||
|
@ -41,6 +41,6 @@
|
||||||
become: yes
|
become: yes
|
||||||
command: python setup.py install --optimize=1
|
command: python setup.py install --optimize=1
|
||||||
args:
|
args:
|
||||||
chdir: "{{ ranger_download_directory }}"
|
chdir: "{{ ranger.download_directory }}"
|
||||||
creates: '/usr/local/bin/ranger'
|
creates: '/usr/local/bin/ranger'
|
||||||
when: install_python3.failed
|
when: install_python3.failed
|
||||||
|
|
Loading…
Reference in a new issue