Fix new ansible-lint errors

Quite a few changes here, hopefully they work!
This commit is contained in:
Jake Howard
2023-06-15 15:16:19 +01:00
parent 2a0d40aca9
commit 2af9f8529d
27 changed files with 52 additions and 47 deletions

View File

@ -1,15 +1,15 @@
- name: Make me
user:
name: "{{ user }}"
home: "{{ home }}"
comment: "{{ name }}"
name: "{{ me.user }}"
home: "{{ me.home }}"
comment: "{{ me.name }}"
shell: /bin/bash
system: true
become: true
- name: Give user sudo access
user:
name: "{{ user }}"
name: "{{ me.user }}"
groups: "{{ 'sudo' if ansible_os_family == 'Debian' else 'wheel' }}"
append: true
become: true