minecraft/aws-s3-backup/tasks/main.yaml
changeset 158 1b7ccb729164
parent 156 ebd8a21a0e62
child 164 ae19501f5251
equal deleted inserted replaced
157:5e5c9e605142 158:1b7ccb729164
     3 - name: create minecraft s3 backup shell script
     3 - name: create minecraft s3 backup shell script
     4   become: yes
     4   become: yes
     5   copy:
     5   copy:
     6     src: "minecraft-s3-backup.sh"
     6     src: "minecraft-s3-backup.sh"
     7     dest: "/usr/local/bin/minecraft-s3-backup.sh"
     7     dest: "/usr/local/bin/minecraft-s3-backup.sh"
       
     8     mode: "0755"
       
     9 
       
    10 - name: create s3 backup lifesycle json file
       
    11   become: yes
       
    12   copy:
       
    13     src: "minecraft-s3-backup-lifecycle.json"
       
    14     dest: "/usr/local/share/minecraft-s3-backup-lifecycle.json"
     8     mode: "0755"
    15     mode: "0755"
     9 
    16 
    10 - name: configure minecraft s3 backup systemd service
    17 - name: configure minecraft s3 backup systemd service
    11   become: yes
    18   become: yes
    12   template:
    19   template: