ansible-hacklab-desktop/roles/pull_daily/tasks/main.yml

19 lines
418 B
YAML
Raw Permalink Normal View History

2018-06-02 22:03:27 +00:00
- name: ansible-pull-hacklab-desktop
copy:
src: ansible-pull-hacklab-desktop
dest: /usr/local/sbin/ansible-pull-hacklab-desktop
owner: root
group: root
mode: 0755
- name: install in cron.daily
file:
src: /usr/local/sbin/ansible-pull-hacklab-desktop
dest: /etc/cron.daily/ansible-pull-hacklab-desktop
state: link
- name: install anacron
apt:
name: anacron
state: present