Minor doc error: apt_repository

40 views
Skip to first unread message

candlerb

unread,
Dec 11, 2012, 7:17:03 AM12/11/12
to ansible...@googlegroups.com
Not worth raising as a ticket, but I thought I'd report the following documentation problem at http://ansible.cc/docs/modules.html#apt-repository

The example shows:
apt_repository: repo=ppa://nginx/stable
However I think the // should be removed. If I use

  - action: apt_repository repo=ppa://semiosis/ubuntu-glusterfs-3.3

then it creates a silly file "/etc/apt/sources.list.d/--precise.list"

But the following works:

  - action: apt_repository repo=ppa:semiosis/ubuntu-glusterfs-3.3

It create "/etc/apt/sources.list.d/semiosis-ubuntu-glusterfs-3_3-precise.list" containing


This all tested with ansible-0.7

Regards,

Brian.

Lorin Hochstein

unread,
Dec 11, 2012, 11:04:48 PM12/11/12
to ansible...@googlegroups.com


Take care,

Lorin
--
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.



--
 
 

Reply all
Reply to author
Forward
0 new messages