Thanks for your answer. It's confirm that, not need Python module My issue was due on space in my playbook. :(
Best regards. Fabien Le lundi 12 novembre 2018 13:59:16 UTC+1, Felix Fontein a écrit : > > Hi, > > > It's not possible to install cron module for manage crontab. > > > https://docs.ansible.com/ansible/2.7/modules/cron_module.html?highlight=cron#requirements > > > it is not a Python requirement. You usually don't need to install > anything. I've been using the cron module for years without having ever > installed anything for it. > > Cheers, > Felix > > > > install cron > > I've this issue : > > > > playbook pip install cron -vvv > > Created temporary directory: /tmp/pip-ephem-wheel-cache-InQUZ3 > > Created temporary directory: /tmp/pip-req-tracker-0n5EY5 > > Created requirements tracker '/tmp/pip-req-tracker-0n5EY5' > > Created temporary directory: /tmp/pip-install-osV5Xu > > Collecting cron > > 1 location(s) to search for versions of cron: > > * https://pypi.org/simple/cron/ > > Getting page https://pypi.org/simple/cron/ > > Looking up "https://pypi.org/simple/cron/" in the cache > > Request header has "max_age" as 0, cache bypassed > > Starting new HTTPS connection (1): pypi.org:443 > > https://pypi.org:443 "GET /simple/cron/ HTTP/1.1" 304 0 > > Analyzing links from page https://pypi.org/simple/cron/ > > Could not find a version that satisfies the requirement cron (from > > versions: ) > > Cleaning up... > > Removed build tracker '/tmp/pip-req-tracker-0n5EY5' > > No matching distribution found for cron > > Exception information: > > Traceback (most recent call last): > > File > > > "/usr/local/lib/python2.7/dist-packages/pip/_internal/cli/base_command.py", > > line 143, in main > > status = self.run(options, args) > > File > > > "/usr/local/lib/python2.7/dist-packages/pip/_internal/commands/install.py", > > line 318, in run > > resolver.resolve(requirement_set) > > File > > "/usr/local/lib/python2.7/dist-packages/pip/_internal/resolve.py", > > line 102, in resolve self._resolve_one(requirement_set, req) > > File > > "/usr/local/lib/python2.7/dist-packages/pip/_internal/resolve.py", > > line 256, in _resolve_one abstract_dist = > > self._get_abstract_dist_for(req_to_install) File > > "/usr/local/lib/python2.7/dist-packages/pip/_internal/resolve.py", > > line 209, in _get_abstract_dist_for self.require_hashes > > File > > > "/usr/local/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py", > > > line 218, in prepare_linked_requirement > > req.populate_link(finder, upgrade_allowed, require_hashes) > > File > > > "/usr/local/lib/python2.7/dist-packages/pip/_internal/req/req_install.py", > > line 164, in populate_link > > self.link = finder.find_requirement(self, upgrade) > > File > > "/usr/local/lib/python2.7/dist-packages/pip/_internal/index.py", line > > 621, in find_requirement 'No matching distribution found for %s' % req > > DistributionNotFound: No matching distribution found for cron > > > > > > On this URL https://pypi.org/simple/cron/, i can't find any file for > > the cron module. > > > > Can you help me ? > > > > Fabien > > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/484dad85-908e-4c44-8251-672057daee42%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
