2f3fdc4975
os.getlogin() returns the user logged in on the controlling terminal. However 'crontab' only looks for the login name of the process' real user id which pwd.getpwuid(os.getuid())[0] does provide. While in most cases there is no difference, the former might fail under certain circumstances (e.g. a lxc container connected by attachment without login), throwing the error 'OSError: [Errno 25] Inappropriate ioctl for device'. |
8 years ago | |
---|---|---|
.github | 9 years ago | |
cloud | 8 years ago | |
commands | 8 years ago | |
database | 8 years ago | |
files | 8 years ago | |
inventory | 10 years ago | |
network | 8 years ago | |
packaging | 8 years ago | |
source_control | 8 years ago | |
system | 8 years ago | |
test | 8 years ago | |
utilities | 8 years ago | |
web_infrastructure | 8 years ago | |
windows | 8 years ago | |
.gitignore | 10 years ago | |
.travis.yml | 8 years ago | |
CONTRIBUTING.md | 9 years ago | |
COPYING | 10 years ago | |
README.md | 9 years ago | |
VERSION | 9 years ago | |
__init__.py | 10 years ago | |
shippable.yml | 8 years ago | |
test-docs.sh | 10 years ago | |
test-requirements.txt | 9 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.