From 56c5507c21bd7762d5f7eea3e5ae8930ff7c35b5 Mon Sep 17 00:00:00 2001 From: Nikolai Lifanov Date: Wed, 17 Dec 2014 10:09:36 -0500 Subject: [PATCH] fix at.py module on non-glibc systems --- lib/ansible/modules/extras/system/at.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/system/at.py b/lib/ansible/modules/extras/system/at.py index c63527563fd..770148991f1 100644 --- a/lib/ansible/modules/extras/system/at.py +++ b/lib/ansible/modules/extras/system/at.py @@ -78,7 +78,7 @@ import tempfile def add_job(module, result, at_cmd, count, units, command, script_file): - at_command = "%s now + %s %s -f %s" % (at_cmd, count, units, script_file) + at_command = "%s -f %s now + %s %s" % (at_cmd, script_file, count, units) rc, out, err = module.run_command(at_command, check_rc=True) if command: os.unlink(script_file)