Skip to content
Snippets Groups Projects
Verified Commit 08712c79 authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

Fix lint warning about non-FQCN ansible.builtin.user

Seems ansible-lint thinks a task calling the unqualified user module is
"not valid under any of the given schemas (schema[tasks])".
parent 022dccfb
No related branches found
No related tags found
1 merge request!631Fix lint warnings and errors with ansible-lint 6.6.0
Pipeline #30163 passed
......@@ -8,7 +8,7 @@
with_dict: "{{ arch_users }}"
- name: Create Arch Linux-specific users
user:
ansible.builtin.user:
name: "{{ item.key }}"
group: users
groups: "{{ item.value.groups | join(',') }}"
......
......@@ -2,7 +2,7 @@
pacman: name=borg state=present
- name: Create borg user
user:
ansible.builtin.user:
name: borg
home: "{{ backup_dir }}"
......
......@@ -39,7 +39,7 @@
- nginx
- name: Create Arch Linux-specific users
user:
ansible.builtin.user:
name: "{{ item.key }}"
group: users
groups: "{{ item.value.groups | join(',') }}"
......
......@@ -11,7 +11,7 @@
- name: Create user account on mail to relay with
delegate_to: mail.archlinux.org
user:
ansible.builtin.user:
name: "{{ inventory_hostname_short }}"
comment: "SMTP Relay Account for {{ inventory_hostname }}"
group: nobody
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment