-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💬 Add CronJob ansible config. and warning about
and change `master` to `control plane` node
- Loading branch information
1 parent
cbca66e
commit b3105d7
Showing
2 changed files
with
46 additions
and
19 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,10 @@ | ||
- hosts: all localhost # or a specific host, here is localhost and workers group | ||
become: true # mean that the user will be able to run commands as root (sudo) | ||
tasks: # tasks to run on the host | ||
- name: Set timezone to Europe/Paris | ||
shell: | # run a shell command | ||
sudo timedatectl set-timezone Europe/Paris | ||
- name: Print the current date and time | ||
shell: | # run a shell command | ||
timedatectl status |
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