-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- name[casing]: notify名のケースも警告されるようになった - name[prefix]: 孫フォルダも警告されるようになった
- Loading branch information
Showing
21 changed files
with
70 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,6 @@ jobs: | |
- name: run pre-commit | ||
uses: pre-commit/[email protected] | ||
- name: run ansible-lint | ||
uses: ansible/ansible-lint@v24.2.2 | ||
uses: ansible/ansible-lint@v24.5.0 | ||
env: | ||
ANSIBLE_HOME: ./ansible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
--- | ||
- name: Restart Dock | ||
listen: restart_dock | ||
listen: RestartDock | ||
ansible.builtin.command: killall 'Dock' | ||
changed_when: true | ||
|
||
- name: Restart Finder | ||
listen: restart_finder | ||
listen: RestartFinder | ||
ansible.builtin.command: killall 'Finder' | ||
changed_when: true | ||
|
||
- name: Update global path | ||
listen: update_global_path | ||
listen: UpdateGlobalPath | ||
# import_tasksにすると通知を受け取れなくなる | ||
ansible.builtin.include_tasks: includes/set_global_path.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
# update global path | ||
- name: Update global path | ||
listen: update_global_path | ||
listen: UpdateGlobalPath | ||
ansible.builtin.debug: | ||
msg: I have nothing to do. |
12 changes: 6 additions & 6 deletions
12
ansible/roles/fish/tasks/includes/change_login_shell_macos.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
ansible/roles/fish/tasks/includes/change_login_shell_other.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
--- | ||
- name: set_brew_prefix | Check Homebrew/Linuxbrew | ||
- name: includes | set_brew_prefix | Check Homebrew/Linuxbrew | ||
ansible.builtin.command: which brew | ||
changed_when: false | ||
check_mode: false | ||
|
||
- name: set_brew_prefix | Get brew --prefix | ||
- name: includes | set_brew_prefix | Get brew --prefix | ||
ansible.builtin.command: brew --prefix | ||
register: get_brew_prefix | ||
changed_when: false | ||
check_mode: false | ||
|
||
- name: set_brew_prefix | Set Homebrew/Linuxbrew prefix | ||
- name: includes | set_brew_prefix | Set Homebrew/Linuxbrew prefix | ||
ansible.builtin.set_fact: | ||
brew_prefix: '{{ get_brew_prefix.stdout }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
--- | ||
- name: set_fish_path | Find fish | ||
- name: includes | set_fish_path | Find fish | ||
ansible.builtin.command: which fish | ||
register: which_fish | ||
changed_when: false | ||
check_mode: false | ||
|
||
- name: set_fish_path | Set fish_path | ||
- name: includes | set_fish_path | Set fish_path | ||
ansible.builtin.set_fact: | ||
fish_path: '{{ which_fish.stdout }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- | ||
- name: set_fish_user_paths | Check fish_user_paths | ||
- name: includes | set_fish_user_paths | Check fish_user_paths | ||
ansible.builtin.shell: echo $fish_user_paths | ||
args: | ||
executable: '{{ fish_path }}' | ||
register: check_fish_user_paths | ||
changed_when: false | ||
check_mode: false | ||
|
||
- name: set_fish_user_paths | Set fish_user_paths | ||
- name: includes | set_fish_user_paths | Set fish_user_paths | ||
ansible.builtin.set_fact: | ||
fish_user_paths: '{{ check_fish_user_paths.stdout }}' |
6 changes: 3 additions & 3 deletions
6
ansible/roles/home/tasks/includes/10-make-directories-windows.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.