X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fadjtimex.yml;h=adf745c9fecc88d0e7e67ca3967cdabde3df24cf;hb=ee8aa3427d674d56e57c034f270388745ed72582;hp=7101e79ee82ec9a7f44f57012fc3a338de5b72f3;hpb=96e7a436840ccc03b47750a577f95f08bb481774;p=ansible.git diff --git a/playbooks/adjtimex.yml b/playbooks/adjtimex.yml index 7101e79..adf745c 100644 --- a/playbooks/adjtimex.yml +++ b/playbooks/adjtimex.yml @@ -1,14 +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: Copy the script + - 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 + mode: 0750 + - name: Run adjtimex.sh command: /usr/local/sbin/adjtimex.sh