From f18761e56c16a475298d8d95375a3af45826e5dc Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 23 Dec 2017 21:54:19 +0100 Subject: [PATCH] readme warning moved to usage --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ae5761f..1277a72 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,6 @@ Ansible module to use some AUR helpers. The following helpers are supported: ### Note Either *name* or *upgrade* is required, both can not be used together. -### Warning -* It is recommended to use the official *pacman* module for removals or for upgrades with the repositories, this module aims to cover the AUR, -* Searches are limited to the AUR using the *--aur* parameter except for *yay* and *yaourt* which do not support it and systematically search the repositories, -* A package is reinstalled only if an update is available using the *--needed* parameter except for *yay* which do not support it and systematically reinstalls, - ## Installing 1. Add as a submodule in your playbook: ``` @@ -33,6 +28,12 @@ Either *name* or *upgrade* is required, both can not be used together. ``` ## Usage +### Warning +* It is recommended to use the official *pacman* module for removals or for upgrades with the repositories, this module aims to cover the AUR, +* Searches are limited to the AUR using the *--aur* parameter except for *yay* and *yaourt* which do not support it and systematically search the repositories, +* A package is reinstalled only if an update is available using the *--needed* parameter except for *yay* which do not support it and systematically reinstalls, + +### Examples Use it in a task, as in the following examples: ``` # Install (using pacaur)