1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-09 03:16:06 +02:00

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])".
This commit is contained in:
Evangelos Foutras 2022-09-19 00:42:41 +03:00
parent 022dccfbd4
commit 08712c793e
No known key found for this signature in database
GPG Key ID: 51E8B148A9999C34
4 changed files with 4 additions and 4 deletions

View File

@ -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(',') }}"

View File

@ -2,7 +2,7 @@
pacman: name=borg state=present
- name: Create borg user
user:
ansible.builtin.user:
name: borg
home: "{{ backup_dir }}"

View File

@ -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(',') }}"

View File

@ -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