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:
parent
022dccfbd4
commit
08712c793e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue