X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fadjtimex.yml;fp=playbooks%2Fadjtimex.yml;h=7101e79ee82ec9a7f44f57012fc3a338de5b72f3;hb=96e7a436840ccc03b47750a577f95f08bb481774;hp=b8e923948cb7530f2afe4ede83a2422bc749afd3;hpb=53d8790de4c8429c03f4766261b42af38f9f5072;p=ansible.git diff --git a/playbooks/adjtimex.yml b/playbooks/adjtimex.yml index b8e9239..7101e79 100644 --- a/playbooks/adjtimex.yml +++ b/playbooks/adjtimex.yml @@ -1,6 +1,14 @@ - name: adjtimex: sync time and adjust kernel coefficients hosts: "{{ hosts | default('all') }}" gather_facts: false + become: true tasks: - - name: adjtimex + - name: Copy the script + 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