]> git.phdru.name Git - ansible.git/blobdiff - playbooks/adjtimex.yml
Feat(debian/phd): Merge `setup-home` back into `main`
[ansible.git] / playbooks / adjtimex.yml
index b8e923948cb7530f2afe4ede83a2422bc749afd3..de0709061dc218b4c569086716e2d0aa21e3b167 100644 (file)
@@ -1,6 +1,14 @@
-- name: adjtimex: sync time and adjust kernel coefficients
+- 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