Fixes #91: Use updated requirements file format to fix lint error.

This commit is contained in:
Jeff Geerling 2021-02-18 10:26:12 -06:00
parent 331a403f62
commit 9bd4b41a2e
5 changed files with 13 additions and 8 deletions

3
.ansible-lint Normal file
View file

@ -0,0 +1,3 @@
---
skip_list:
- experimental

View file

@ -5,7 +5,8 @@
- default.config.yml - default.config.yml
pre_tasks: pre_tasks:
- include_vars: "{{ item }}" - name: Include playbook configuration.
include_vars: "{{ item }}"
with_fileglob: with_fileglob:
- "{{ playbook_dir }}/config.yml" - "{{ playbook_dir }}/config.yml"
tags: ['always'] tags: ['always']

View file

@ -1,4 +1,5 @@
--- ---
- name: geerlingguy.dotfiles roles:
- name: geerlingguy.homebrew - name: geerlingguy.dotfiles
- name: geerlingguy.mas - name: geerlingguy.homebrew
- name: geerlingguy.mas

View file

@ -1,5 +1,5 @@
--- ---
# TODO: Use sudo once .osx can be run via root with no user interaction. # TODO: Use sudo once .osx can be run via root with no user interaction.
- name: Run .osx dotfiles. - name: Run .osx dotfiles.
shell: "{{ osx_script }}" command: "{{ osx_script }}"
changed_when: false changed_when: false

View file

@ -1,19 +1,19 @@
--- ---
# Custom Terminal theme. # Custom Terminal theme.
- name: Get current Terminal profile. - name: Get current Terminal profile.
shell: defaults read com.apple.terminal 'Default Window Settings' command: defaults read com.apple.terminal 'Default Window Settings'
register: terminal_theme register: terminal_theme
changed_when: false changed_when: false
check_mode: false check_mode: false
- name: Ensure custom Terminal profile is added. - name: Ensure custom Terminal profile is added.
shell: open files/terminal/JJG-Term.terminal command: open files/terminal/JJG-Term.terminal
changed_when: false changed_when: false
when: "'JJG-Term' not in terminal_theme.stdout" when: "'JJG-Term' not in terminal_theme.stdout"
# TODO: This doesn't work in Yosemite. Consider a different solution? # TODO: This doesn't work in Yosemite. Consider a different solution?
- name: Ensure custom Terminal profile is set as default. - name: Ensure custom Terminal profile is set as default.
shell: "{{ item }}" command: "{{ item }}"
with_items: with_items:
- defaults write com.apple.terminal 'Default Window Settings' -string JJG-Term - defaults write com.apple.terminal 'Default Window Settings' -string JJG-Term
- defaults write com.apple.terminal 'Startup Window Settings' -string JJG-Term - defaults write com.apple.terminal 'Startup Window Settings' -string JJG-Term