documentation error

On the web, in the current doc, in modules (
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.

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

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

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.

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

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