X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fadjtimex.yml;h=adf745c9fecc88d0e7e67ca3967cdabde3df24cf;hb=ee8aa3427d674d56e57c034f270388745ed72582;hp=0a8b732953424c0e8091a1eb19af87a444d8e54f;hpb=636fe137aa8025193f2671a33a5c389757b79da6;p=ansible.git diff --git a/playbooks/adjtimex.yml b/playbooks/adjtimex.yml index 0a8b732..adf745c 100644 --- a/playbooks/adjtimex.yml +++ b/playbooks/adjtimex.yml @@ -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: 0750 + - name: Run adjtimex.sh command: /usr/local/sbin/adjtimex.sh