# documentation error

**URL:** <https://forum.ansible.com/t/documentation-error/12276>\
**Category:** Ansible Project\
**Created:** [February 1, 2013, 12:34am UTC](https://forum.ansible.com/t/documentation-error/12276 "2013-02-01T00:34:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yves\_Dorfsman](https://avatars.discourse-cdn.com/v4/letter/y/9de0a6/32.png) [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Post date:** [February 1, 2013, 12:34am UTC](https://forum.ansible.com/t/documentation-error/12276/1 "2013-02-01T00:34:27Z")

</div>

On the web, in the current doc, in modules (  
[http://ansible.cc/docs/modules.html](http://ansible.cc/docs/modules.html)), for the "apt" module, it says that "state" can the values of "latest", "present" or "absent". But then the examples show state as "installed" and "removed" as well.

Are the examples correct? Is it just a question of the doc need some update?

Thanks.

---

<div class="post-metadata">

**Author:** ![John\_Wong](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@John\_Wong](https://forum.ansible.com/u/John_Wong)\
**Post date:** [February 1, 2013, 6:04am UTC](https://forum.ansible.com/t/documentation-error/12276/2 "2013-02-01T06:04:33Z")

</div>

Yeah. When I first came to ansible land, I was like O.O  
We should make a issue to update the doc. I believe in the old days when ansible first launched developers probably wrote installed because people coming from puppet land (haven’t used puppet for a while) used to installed.  
It’s fine.

[https://github.com/ansible/ansible/blob/devel/library/apt#L171](https://github.com/ansible/ansible/blob/devel/library/apt#L171)

In ansible, there are alias. So common alias are installed = present for apt module. name=pkg in apt as well

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [February 1, 2013, 1:32pm UTC](https://forum.ansible.com/t/documentation-error/12276/3 "2013-02-01T13:32:00Z")

</div>

installed and removed are aliases for both apt and yum, and should be  
there as aliases for other package modules (ought to be).

absent/present is pretty much our standard, and of course some things  
take "latest" as well.

The yum module actually takes expressions too, like "\>1.25" and so on.

---

<div class="post-metadata">

**Author:** ![Yves\_Dorfsman](https://avatars.discourse-cdn.com/v4/letter/y/9de0a6/32.png) [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Post date:** [February 1, 2013, 4:08pm UTC](https://forum.ansible.com/t/documentation-error/12276/4 "2013-02-01T16:08:54Z")

</div>

Should we add this to the doc, maybe?  
How do we update the doc? Make a change and create a pull request?

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [February 1, 2013, 4:19pm UTC](https://forum.ansible.com/t/documentation-error/12276/5 "2013-02-01T16:19:18Z")

</div>

I wasn't aware it wasn't in there.

But yes, you edit the docsite/rst/\*.rst files only, submit a pull  
request, and I do the rebuilds periodically on my end
