ANSIBLE.PACMAN(3)               ANSIBLE MODULES              ANSIBLE.PACMAN(3)



NAME
       pacman - Package manager for Archlinux

DESCRIPTION
       Manages Archlinux packages

OPTIONS
       name   name of package to install, upgrade or remove.(required)

       recurse
              remove all not explicitly installed dependencies not required by
              other packages of the package to remove Choices: yes,no.
              (default: no)(Added in Ansible version 1.3.)


       state  state of the package (installed or absent).

       update_cache
              update the package database first (pacman -Syy).  Choices:
              yes,no. (default: no).

EXAMPLES
       # Install package foo
       - pacman: name=foo state=installed

       # Remove package foo
       - pacman: name=foo state=absent

       # Remove packages foo and bar
       - pacman: name=foo,bar state=absent

       # Recursively remove package baz
       - pacman: name=baz state=absent recurse=yes

       # Update the package database (pacman -Syy) and install bar (bar will be the updated if a newer version exists)
       - pacman: name=bar, state=installed, update_cache=yes



AUTHOR
       Afterburn

SEE ALSO
       ansible(1), http://ansible.github.com/modules.html#pacman



1.4.5                             2014-02-12                 ANSIBLE.PACMAN(3)
