Skip to content

Commit

Permalink
Merge pull request #118 from cradle8810/105_local
Browse files Browse the repository at this point in the history
OS判定の対象を'MacOSX'かどうかで判定
  • Loading branch information
cradle8810 authored May 2, 2024
2 parents 1a51da4 + f6906c2 commit 6efa0d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions macbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
ansible.builtin.import_tasks:
file: tasks/sns_dl_linux.yml
become: true
tags:
- install

- name: Make symlinks
ansible.builtin.import_tasks:
Expand Down
6 changes: 3 additions & 3 deletions tasks/sns_dl_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
- name: Download instaloader (Linux)
ansible.builtin.pip:
name: instaloader
when: ansible_distribution != 'Darwin'
when: ansible_distribution != 'MacOSX'

- name: Download instaloader (macOS)
community.general.pipx:
name: instaloader
when: ansible_distribution == 'Darwin'
name: instaloader
when: ansible_distribution == 'MacOSX'

0 comments on commit 6efa0d8

Please sign in to comment.