readme improve formatting

pull/1/head
alex 2017-12-24 08:37:56 +01:00
parent 2fee5ca9a8
commit 0aa3151f06
1 changed files with 19 additions and 19 deletions

View File

@ -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
[...] [...]
``` ```