X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fadjtimex.yml;h=de0709061dc218b4c569086716e2d0aa21e3b167;hb=8106ec7b61aa0c857e35a8e8985763a19e1eec88;hp=b8e923948cb7530f2afe4ede83a2422bc749afd3;hpb=53d8790de4c8429c03f4766261b42af38f9f5072;p=ansible.git diff --git a/playbooks/adjtimex.yml b/playbooks/adjtimex.yml index b8e9239..de07090 100644 --- a/playbooks/adjtimex.yml +++ b/playbooks/adjtimex.yml @@ -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