chore(shell_tweaks): fix lints in role

This commit is contained in:
Jan Christian Grünhage 2023-02-21 12:41:52 +01:00
parent 80089460cd
commit e4ef42f20a
No known key found for this signature in database
GPG key ID: EEC1170CE56FA2ED
2 changed files with 11 additions and 18 deletions

View file

@ -1,17 +1,11 @@
---
galaxy_info:
author: Evelyn Alicke <e.alicke@famedly.com>
description: various tweaks to make the remote shell more usable
author: "Evelyn Alicke <e.alicke@famedly.com>"
description: "various tweaks to make the remote shell more usable"
min_ansible_version: "2.13"
galaxy_tags: []
platforms:
- name: Debian
versions:
- bullseye
license: AGPL-3.0-or-later
- name: "Debian"
versions: ["bullseye"]
license: "AGPL-3.0-or-later"
dependencies: []

View file

@ -1,13 +1,12 @@
---
- name: Ensure terminfo packages are present
- name: "Ensure terminfo packages are present"
apt:
name: "{{ shell_tweaks_packages_terminfo }}"
state: present
when: ansible_facts['pkg_mgr'] == 'apt'
state: "present"
when: "ansible_facts['pkg_mgr'] == 'apt'"
- name: Ensure terminfo packages are present
- name: "Ensure terminfo packages are present"
package:
name: "{{ shell_tweaks_packages_terminfo }}"
state: present
when: ansible_facts['pkg_mgr'] != 'apt'
state: "present"
when: "ansible_facts['pkg_mgr'] != 'apt'"