Skip to content

Commit

Permalink
Fix ansible-lint offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Apr 19, 2024
1 parent 2dade84 commit 69eefa4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions roles/drupal/tasks/instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
path: '{{ instance.dir }}'
owner: '{{ instance.drupal_user }}'
group: '{{ instance.drupal_group | default(nginx_group) }}'
mode: '0755'
state: directory
when: instance.drupal_user is defined and instance.drupal_user != 'root'

Expand Down
2 changes: 1 addition & 1 deletion roles/zsh/tasks/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
- name: Install auto-ls plugin
ansible.builtin.copy:
src: auto-ls.zsh
dest: '{{zsh_auto_ls_plugin_file }}'
dest: '{{ zsh_auto_ls_plugin_file }}'
mode: 0644
2 changes: 1 addition & 1 deletion roles/zsh/tasks/zshrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
become_user: '{{ zsh_user }}'

- name: Set zsh as default shell
user:
ansible.builtin.user:
name: "{{ ansible_user | default(ansible_env.USER) }}"
shell: /usr/bin/zsh
when: zsh_default_shell

0 comments on commit 69eefa4

Please sign in to comment.