mirror of https://github.com/kewlfft/ansible-aur
readme improve formatting
parent
2fee5ca9a8
commit
0aa3151f06
38
README.md
38
README.md
|
@ -23,9 +23,9 @@ git clone git@github.com:kewlfft/ansible-aur.git library/ansible-aur
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Link the script to `library/aur`:
|
2. Link the script to `library/aur`:
|
||||||
```
|
```
|
||||||
ln --symbolic library/ansible-aur/aur.py library/aur
|
ln --symbolic library/ansible-aur/aur.py library/aur
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
### Warning
|
### Warning
|
||||||
|
@ -35,21 +35,21 @@ git clone git@github.com:kewlfft/ansible-aur.git library/ansible-aur
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
Use it in a task, as in the following examples:
|
Use it in a task, as in the following examples:
|
||||||
```
|
```
|
||||||
# Install (using pacaur)
|
# Install (using pacaur)
|
||||||
- aur: name=package_name
|
- aur: name=package_name
|
||||||
become: yes
|
become: yes
|
||||||
become_user: user_that_has_nopasswd_in_sudoers_for_pacman_use
|
become_user: user_that_has_nopasswd_in_sudoers_for_pacman_use
|
||||||
|
|
||||||
# Install (using trizen)
|
# Install (using trizen)
|
||||||
- aur:
|
- aur:
|
||||||
use: trizen
|
use: trizen
|
||||||
name:
|
name:
|
||||||
- package_name_1
|
- package_name_1
|
||||||
- package_name_2
|
- package_name_2
|
||||||
[...]
|
[...]
|
||||||
|
|
||||||
# Upgrade (using pacaur)
|
# Upgrade (using pacaur)
|
||||||
- aur: upgrade=yes
|
- aur: upgrade=yes
|
||||||
[...]
|
[...]
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue