1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ranger.git synced 2024-08-16 14:19:48 +02:00

improve docs

This commit is contained in:
L3D 2020-05-16 21:12:29 +02:00
parent 19a2ff4fe8
commit 49ae207b66
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -25,6 +25,12 @@ install role:
ansible-galaxy install do1jlr.ranger
```
You can execute the role **directly via ansible ad-hoc command**, but it is highly recomended to create a ansible playbook
```bash
# example ad-hoc command
ansible -m include_role -a "name=do1jlr.ranger" localhost
```
Example Ansible-Playbook:
```yml
---
@ -33,13 +39,8 @@ Example Ansible-Playbook:
- do1jlr.ranger
```
You can execute the role directly via ansible ad-hoc commands, but it is highly recomended to create a ansible playbook
```bash
# example ad-hoc command
ansible -m include_role -a "name=do1jlr.ranger" localhost
```
### use directly
### use via git command
clone github repo:
```bash