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
Michael Scherer 5310bab12f Port the module to run on python 3 (#4496)
One of the usual issue is that run_command return bytes,
so we have to adapt the string to either be bytes too,
or convert to string.

This result into that kind of traceback:

    Traceback (most recent call last):
      File \"/tmp/ansible_ej32yu2w/ansible_module_git.py\", line 1009, in <module>
        main()
      File \"/tmp/ansible_ej32yu2w/ansible_module_git.py\", line 873, in main
        git_version_used = git_version(git_path, module)
      File \"/tmp/ansible_ej32yu2w/ansible_module_git.py\", line 788, in git_version
        rematch = re.search('git version (.*)$', out)
      File \"/usr/lib64/python3.5/re.py\", line 173, in search
        return _compile(pattern, flags).search(string)
    TypeError: cannot use a string pattern on a bytes-like object

Another issue is filter being a object instead of a list.
8 years ago
.github Update GitHub templates to reflect ansible/ansible (#3900) 9 years ago
cloud Replaced use of bare variables with full variable syntax (#4149) 8 years ago
commands Remove redundant code AFAICT (#3908) 8 years ago
database mysql_db: use new exception handling, fixes build (#4373) 8 years ago
files fix error in documentation for stat checksum (#4582) 8 years ago
inventory Add missing GPLv3 License header 10 years ago
network Merge pull request #3950 from grybak-arista/eos_exit_fix 8 years ago
packaging apt_key: fix spurious failure to import a subkey (#4366) 8 years ago
source_control Port the module to run on python 3 (#4496) 8 years ago
system Fix minor syntax error in authorized_key module doc (#4491) 8 years ago
test Only run integration script if it exists. 8 years ago
utilities added docs for vars_from/defaults_from 8 years ago
web_infrastructure reuse already split output for filtering (#4310) 8 years ago
windows Clarify what checksum algorithm is used by copy modules (#4198) 8 years ago
.gitignore Add basic top level files. 10 years ago
.travis.yml Finish python3 syntax compilation fixing for core repo 9 years ago
CONTRIBUTING.md Fix broken link for issue template (#3680) 9 years ago
COPYING Add basic top level files. 10 years ago
README.md readme: add build state image from travis 9 years ago
VERSION Version bump for new beta 2.0.0-0.5.beta3 9 years ago
__init__.py package files 10 years ago
shippable.yml Enable CI on Shippable for OS X. (#4515) 8 years ago
test-docs.sh Add testing of docs to the core repo 10 years ago
test-requirements.txt add some unit tests for the os_server module 9 years ago

README.md

Build Status

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.