Deploy the `rclone` config to `kazu634` and `root`.

This commit is contained in:
Kazuhiro MUSASHI 2020-11-14 16:35:23 +09:00
parent f442ed4e7a
commit 999d111470
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,4 @@
[gp]
type = google photos
token = {"access_token":"ya29.A0AfH6SMAv55TYq299mIJKY0zz-p3SS7JDzgGJERacdy64ckRdiL4vgjQTwgokYd6b8gnJ5oLcGwmAxUUPF-eYwD9LhrlSYcSYM8HzHJIpUuV70eJtF-Gw2QBMmkYDm3j7GpvjqNllketPeL0_KMYM40liOlxn7mqDJjvu_gFV7qg","token_type":"Bearer","refresh_token":"1//0gQgQpQWIend5CgYIARAAGBASNwF-L9IrQhnEw_xvzBygu6Bfsorr7Nl0e3Uah3PKxM2Oe_v14zPcOwSV4bC4y8UaYRj61Y33K7g","expiry":"2020-11-14T02:07:28.57842896+09:00"}

View File

@ -0,0 +1,4 @@
[gp]
type = google photos
token = {"access_token":"ya29.A0AfH6SMAv55TYq299mIJKY0zz-p3SS7JDzgGJERacdy64ckRdiL4vgjQTwgokYd6b8gnJ5oLcGwmAxUUPF-eYwD9LhrlSYcSYM8HzHJIpUuV70eJtF-Gw2QBMmkYDm3j7GpvjqNllketPeL0_KMYM40liOlxn7mqDJjvu_gFV7qg","token_type":"Bearer","refresh_token":"1//0gQgQpQWIend5CgYIARAAGBASNwF-L9IrQhnEw_xvzBygu6Bfsorr7Nl0e3Uah3PKxM2Oe_v14zPcOwSV4bC4y8UaYRj61Y33K7g","expiry":"2020-11-14T02:07:28.57842896+09:00"}

View File

@ -0,0 +1,24 @@
# Deploy the files:
directory '/home/kazu634/.config/rclone/' do
owner 'kazu634'
group 'kazu634'
mode '750'
end
remote_file "/home/kazu634/.config/rclone/rclone.conf" do
owner 'kazu634'
group 'kazu634'
mode '600'
end
directory '/root/.config/rclone/' do
owner 'root'
group 'root'
mode '750'
end
remote_file "/root/.config/rclone/rclone.conf" do
owner 'kazu634'
group 'kazu634'
mode '600'
end