From e028ce7c2e7c8bbafdab3f899deafbe34d9a54ad Mon Sep 17 00:00:00 2001 From: Matt Wright Date: Tue, 7 Aug 2012 17:08:58 -0400 Subject: [PATCH] Add apt_repository documentation --- rst/modules.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/rst/modules.rst b/rst/modules.rst index 8497bb55fa2..75bb75d5d79 100644 --- a/rst/modules.rst +++ b/rst/modules.rst @@ -70,6 +70,27 @@ Example action from Ansible :doc:`playbooks`:: apt pkg=nginx state=latest default-release=squeeze-backports update-cache=yes apt pkg=openjdk-6-jdk state=latest install-recommends=no + +.. _apt_repository: + +apt_repository +``` + +Manages apt repositores + ++--------------------+----------+---------+----------------------------------------------------------------------------+ +| parameter | required | default | comments | ++====================+==========+=========+============================================================================+ +| repo | yes | | The repository name/value | ++--------------------+----------+---------+----------------------------------------------------------------------------+ +| state | no | present | 'absent' or 'present' | ++--------------------+----------+---------+----------------------------------------------------------------------------+ + +Example action from Ansible :doc:`playbooks`:: + + apt_repository repo=ppa:nginx/stable + apt_repository repo='deb http://archive.canonical.com/ubuntu hardy partner' + .. _assemble: assemble