Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stable-2.9] cron - Allow non-ascii (UTF-8) chars in cron file paths …
…and jobs (#70426) (#71134) * Encode/Decode files in UTF-8 * Use helper function in ansible * Add an integration test * Use emoji in test data. * add changelog * Also support non-ascii chars in filepath and add tests about this. * Also use non-ascii chars in replaced text and ensure not to break cron syntax. * rename self.existing to self.n_existing * rename crontab.existing to crontab.n_existing. (cherry picked from commit 5ce4764) Co-authored-by: psi / Ryo Hirafuji <ryo.hirafuji@link-u.co.jp> * try removing name references for state=absent Signed-off-by: Rick Elrod <rick@elrod.me> Co-authored-by: psi / Ryo Hirafuji <ryo.hirafuji@link-u.co.jp> Co-authored-by: Rick Elrod <rick@elrod.me>
- Loading branch information
1 parent
0199b1c
commit 523d0f5
Showing
3 changed files
with
77 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bugfixes: | ||
- cron - encode and decode crontab files in UTF-8 explicitly to allow non-ascii chars in cron filepath and job (https://github.com/ansible/ansible/issues/69492) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters