1234567891011121314151617181920212223242526272829303132333435363738 |
- ---
- - name: Package cache updated
- shell: pkg update -f
- - name: Dependencies installed
- community.general.pkgng:
- name: "git py37-alot openssl pkgconf sqlite autotools"
- state: latest
- - name: Muchsync release fetched
- unarchive:
- src: http://www.muchsync.org/src/muchsync-6.tar.gz
- dest: /usr/local/src/muchsync/
- remote_src: yes
- - name: Muchsync built and installed
- shell:
- cmd: ./configure && make && make install
- chdir: /usr/local/src/muchsync
- - name: Checkmail script installed
- copy:
- src: checkmail
- dest: /usr/local/bin/checkmail
- owner: root
- mode: 0744
- - name: Run checkmail once
- shell: checkmail
- - name: Checkmail cronjob configured
- cron:
- name: "Check mail"
- minute: "*/10"
- hour: "*"
- day: "*"
- month: "*"
- job: "/usr/local/bin/checkmail
|