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.
 
 
 
 
 
Go to file
Jordi Gutiérrez Hermoso c038e7013a hg: discard changes without changing the current revision
The command `hg up -C` by default moves to the latest revision on the
current branch. The `discard` function was trying to update to a
different branch, in case it was provided, by passing a `-r REVISION`
argument. Not only is this not the intended effect of the `discard`
function, but this also could update to a different branch that hasn't
been pulled yet, which is how we were experiencing trouble.

Instead, we unconditionally do `hg up -C -r .` to "update" to the
current revision (i.e. to "."), while `-C/--clean`ing the current
directory. This is similar to `hg revert --all`, except that it also
undoes the merge state of the working directory, in case there was
any.
10 years ago
cloud minor doc fix 10 years ago
commands returned version added 11 years ago
database Actually remove the section we are replacing 11 years ago
files minor doc fixes 11 years ago
inventory Add missing GPLv3 License header 11 years ago
network Update get_url.py 10 years ago
packaging apt: check for "0 upgraded" to be at the beginning of the line 11 years ago
source_control hg: discard changes without changing the current revision 10 years ago
system partially reverted previous change to deal with systemctl show status not returning errors on missing service 11 years ago
utilities Merge pull request #1670 from mikeputnam/issue-1643-gpl-header 11 years ago
web_infrastructure fixed 'present' 11 years ago
windows minor doc fix 10 years ago
.gitignore Add basic top level files. 11 years ago
.travis.yml Disable travis docs checks 11 years ago
CONTRIBUTING.md Add new policy guidelines for Core 11 years ago
COPYING Add basic top level files. 11 years ago
README.md updated to keep same info as in extras repo 11 years ago
__init__.py package files 11 years ago
test-docs.sh Add testing of docs to the core repo 11 years ago

README.md

ansible-modules-core

This repo contains Ansible's most popular modules that are shipped with Ansible.

New module submissions for modules that do not yet exist should be submitted to ansible-modules-extras, rather than this repo.

Take care to submit tickets to the appropriate repo where modules are contained. The docs.ansible.com website indicates this at the bottom of each module documentation page.

Reporting bugs

Take care to submit tickets to the appropriate repo where modules are contained. The repo is mentioned at the bottom of module documentation page at docs.ansible.com.

Testing modules

Ansible module development guide contains the latest info about that.

License

As with Ansible, modules distributed with Ansible are GPLv3 licensed. User generated modules not part of this project can be of any license.

Installation

There should be no need to install this repo separately as it should be included in any Ansible install using the official documented methods.