mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.1 KiB
ReStructuredText
22 lines
1.1 KiB
ReStructuredText
12 years ago
|
.. _apt_repository:
|
||
|
|
||
|
apt_repository
|
||
|
``````````````
|
||
|
|
||
|
.. versionadded:: 0.7
|
||
|
|
||
|
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'
|