aws-s3-backup/tasks/main.yaml
changeset 144 267d58c0e186
parent 43 b86f3fc9fb6f
child 238 bdbc88cb5078
equal deleted inserted replaced
143:7d4a477be685 144:267d58c0e186
    13   file: path="/root/.aws/" state="directory" mode="0700"
    13   file: path="/root/.aws/" state="directory" mode="0700"
    14 
    14 
    15 - name: configure aws credentials for root
    15 - name: configure aws credentials for root
    16   become: yes
    16   become: yes
    17   template: src="aws-{{item}}.j2" dest="/root/.aws/{{item}}" mode="0600"
    17   template: src="aws-{{item}}.j2" dest="/root/.aws/{{item}}" mode="0600"
    18   with_items:
    18   loop:
    19     - "credentials"
    19     - "credentials"
    20     - "config"
    20     - "config"
    21 
    21 
    22 - name: create systemd target
    22 - name: create systemd target
    23   become: yes
    23   become: yes