]> git.phdru.name Git - ansible.git/blobdiff - playbooks/adjtimex.yml
Feat(debian/init-system): Install more packages
[ansible.git] / playbooks / adjtimex.yml
index 0a8b732953424c0e8091a1eb19af87a444d8e54f..de0709061dc218b4c569086716e2d0aa21e3b167 100644 (file)
@@ -1,6 +1,14 @@
-- name: adjtimex: sync time and ajust kernel coeffitients
+- name: "adjtimex: sync time and adjust kernel coefficients"
   hosts: "{{ hosts | default('all') }}"
   gather_facts: false
+  become: true
   tasks:
-    - name: adjtimex
+    - name: Copy the script adjtimex.sh
+      copy:
+        src: ~/admin/prog/adjtimex.sh
+        dest: /usr/local/sbin/adjtimex.sh
+        owner: root
+        group: root
+        mode: 0640
+    - name: AdjTimeX
       command: /usr/local/sbin/adjtimex.sh