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:
parent
19a2ff4fe8
commit
49ae207b66
1 changed files with 7 additions and 6 deletions
13
README.md
13
README.md
|
@ -25,6 +25,12 @@ install role:
|
||||||
ansible-galaxy install do1jlr.ranger
|
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:
|
Example Ansible-Playbook:
|
||||||
```yml
|
```yml
|
||||||
---
|
---
|
||||||
|
@ -33,13 +39,8 @@ Example Ansible-Playbook:
|
||||||
- do1jlr.ranger
|
- 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:
|
clone github repo:
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in a new issue