Changeset 3670 in MondoRescue for branches


Ignore:
Timestamp:
Jun 27, 2017, 1:18:36 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Adds backup support
  • Fix deps for apt repo
Location:
branches/3.3/ansible/roles
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/ansible/roles/pb/tasks/main.yml

    r3667 r3670  
    66    - { pkg: createrepo }
    77    - { pkg: apt }
     8    - { pkg: apt-mga }
     9    - { pkg: dpkg }
    810    - { pkg: project-builder }
    911
  • branches/3.3/ansible/roles/system/tasks/main.yml

    r3667 r3670  
    7474  tags: system
    7575
     76- name: Setup backup script
     77  copy: src=files/{{ item }} dest=/usr/local/bin/{{ item }} owner=root group=root mode=0755 backup=yes
     78  with_items:
     79    - mkbkp
     80  tags: system
     81
    7682- name: Setup autoupdate via cron
    7783  cron: name=urpmi-upd minute=43 hour=03 user=root job="/usr/local/bin/upd" cron_file=urpmi-upd state=present backup=yes
    7884  tags: system
     85
     86- name: Setup backup for bruno via cron
     87  cron: name=bkp minute=43 hour=02 user=bruno job="/usr/local/bin/mkbkp" cron_file=bkp state=present backup=yes
     88  tags: system
Note: See TracChangeset for help on using the changeset viewer.