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.
ansible/lib/ansible
Sam Doran e05938e05e [stable-2.9] cronvar - use correct binary name (#63279) (#63338)
* [stable-2.9] cronvar - use correct binary name (#63279)

Fixes regression introduced by #62554
Add integration tests for cronvar.
(cherry picked from commit 9d014778ad)

Co-authored-by: Sam Doran <sdoran@redhat.com>

* cron: add integration tests (#59830)

* cron: add integration tests

Use faketime in order to reduce waiting time. Using opensuse15
container:

    Tuesday 30 July 2019  23:03:19 +0000 (0:00:05.410)       0:01:28.291 **********
    ===============================================================================
    cron : install cron and faketime packages ------------------------------ 78.65s
    cron : wait 70 seconds max ---------------------------------------------- 5.41s
    Gathering Facts --------------------------------------------------------- 0.97s
    cron : enable cron service ---------------------------------------------- 0.72s
    cron : Use faketime with cron service ----------------------------------- 0.71s
    cron : command ---------------------------------------------------------- 0.41s
    cron : create directory for cron drop-in file --------------------------- 0.41s
    cron : add cron task ---------------------------------------------------- 0.40s
    cron : command ---------------------------------------------------------- 0.25s
    cron : command ---------------------------------------------------------- 0.25s
    cron : include_vars ----------------------------------------------------- 0.06s

* cron test, simplify: use Environment instead ExecStart

Thanks to mscherer for the suggestion.

* clean up comment: remove reference to outdated path

$OUTPUT_DIR is a plain path which doesn't reference any other
environment variables

* cron test: display elapsed time

* cron test: display some logs in case of failure

* cron test: handle FreeBSD

* cron tests: add checks

(cherry picked from commit 3c8abc0b82)
6 years ago
..
cli add ANSIBLE_PLAYBOOK_DIR envvar support (#63220) 6 years ago
compat Update bundled copy of selectors2 from 1.1.0 to 1.1.1 (#55457) 7 years ago
config add ANSIBLE_PLAYBOOK_DIR envvar support (#63220) 6 years ago
errors Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 7 years ago
executor win_exec_wrapper - Be more defensive when trying to get output errors (#62376) 6 years ago
galaxy Backport/2.9/docs3 (#63251) 6 years ago
inventory inventory: Handle IndexError while parsing limit file (#59776) 6 years ago
module_utils IOS-XR: Fix iosxr_lag_interfaces intermittent failures (#62998) 6 years ago
modules [stable-2.9] cronvar - use correct binary name (#63279) (#63338) 6 years ago
parsing Add a representer for AnsibleUnsafeBytes (#62598) 6 years ago
playbook Collection role relative deps (#61517) 6 years ago
plugins Backport/2.9/docs3 (#63251) 6 years ago
template fix collection jinja2 cache issue (#62543) 6 years ago
utils Fix plugin names for collection plugins. (#60317) 6 years ago
vars Use correct delegate_to hostnames in loops (#59659) 6 years ago
__init__.py
constants.py removed previouslly deprecated settings (#55662) 7 years ago
context.py Become plugins (#50991) 7 years ago
release.py Update Ansible release version to v2.9.0rc2.post0. 6 years ago