From 35940747bcea08fa1bfca7bae499b6942146e6a4 Mon Sep 17 00:00:00 2001 From: cradle8810 Date: Thu, 2 May 2024 21:25:51 +0900 Subject: [PATCH] =?UTF-8?q?SNS=E3=83=80=E3=82=A6=E3=83=B3=E3=83=AD?= =?UTF-8?q?=E3=83=BC=E3=83=893=E5=85=84=E5=BC=9F=E3=82=92=E6=9B=B8?= =?UTF-8?q?=E3=81=84=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit consoleのみtaskを入れている --- .vscode/settings.json | 5 +++++ tasks/sns_dl_linux.yml | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ace4ec5 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "yaml.schemas": { + "https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/ansible-lint-config.json": "file:///home/hayato/Git/ansible_hayaworld/tasks/sns_dl_linux.yml" + } +} \ No newline at end of file diff --git a/tasks/sns_dl_linux.yml b/tasks/sns_dl_linux.yml index bd52b2c..b72ea6b 100644 --- a/tasks/sns_dl_linux.yml +++ b/tasks/sns_dl_linux.yml @@ -10,10 +10,14 @@ url: https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux dest: /opt/bin/yt-dlp checksum: sha256:6a04fddc3609d22736c39a23ba61913332689ade8380892aac846f4ced753c7b - mode: '0755' + mode: "0755" - # - name: Download twitter-loader - # https://github.com/mmpx12/twitter-media-downloader/releases/tag/v1.13.2 +- name: Download twitter-loader + ansible.builtin.unarchive: + src: "https://github.com/mmpx12/twitter-media-downloader/releases/download/v1.13.2/twitter-media-downloader-v1.13.2-linux-amd64.tar.gz" + dest: /opt/bin/ + remote_src: true + mode: "0755" # https://github.com/instaloader/instaloader - name: Download instaloader