]> git.phdru.name Git - ansible.git/blob - playbooks/adjtimex.yml
Feat(adjtimex): Copy the script if it's not already there
[ansible.git] / playbooks / adjtimex.yml
1 - name: adjtimex: sync time and adjust kernel coefficients
2   hosts: "{{ hosts | default('all') }}"
3   gather_facts: false
4   become: true
5   tasks:
6     - name: Copy the script
7       copy:
8         src: ~/admin/prog/adjtimex.sh
9         dest: /usr/local/sbin/adjtimex.sh
10         owner: root
11         group: root
12         mode: 0640
13     - name: AdjTimeX
14       command: /usr/local/sbin/adjtimex.sh