fix mgrote_users "wantlist" #203
1 changed files with 10 additions and 3 deletions
|
@ -13,14 +13,19 @@ users:
|
||||||
- username: root
|
- username: root
|
||||||
password: "{{ lookup('viczem.keepass.keepass', 'root_linux_password_hash_proxmox', 'password') }}"
|
password: "{{ lookup('viczem.keepass.keepass', 'root_linux_password_hash_proxmox', 'password') }}"
|
||||||
update_password: always
|
update_password: always
|
||||||
groups: ssh, sudo, root
|
groups:
|
||||||
|
- ssh
|
||||||
|
- sudo
|
||||||
|
- root
|
||||||
state: present
|
state: present
|
||||||
allow_sudo: true
|
allow_sudo: true
|
||||||
allow_passwordless_sudo: true
|
allow_passwordless_sudo: true
|
||||||
- username: mg
|
- username: mg
|
||||||
password: "{{ lookup('viczem.keepass.keepass', 'mg_linux_password_hash', 'password') }}"
|
password: "{{ lookup('viczem.keepass.keepass', 'mg_linux_password_hash', 'password') }}"
|
||||||
update_password: always
|
update_password: always
|
||||||
groups: ssh, sudo
|
groups:
|
||||||
|
- ssh
|
||||||
|
- sudo
|
||||||
state: present
|
state: present
|
||||||
public_ssh_key: "{{ ssh_public_key_mg }}"
|
public_ssh_key: "{{ ssh_public_key_mg }}"
|
||||||
allow_sudo: true
|
allow_sudo: true
|
||||||
|
@ -28,7 +33,9 @@ users:
|
||||||
- username: ansible-user
|
- username: ansible-user
|
||||||
password: "{{ lookup('viczem.keepass.keepass', 'ansible_user_linux_password_hash', 'password') }}"
|
password: "{{ lookup('viczem.keepass.keepass', 'ansible_user_linux_password_hash', 'password') }}"
|
||||||
update_password: always
|
update_password: always
|
||||||
groups: ssh, sudo
|
groups:
|
||||||
|
- ssh
|
||||||
|
- sudo
|
||||||
state: present
|
state: present
|
||||||
public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE mg@irantu
|
public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE mg@irantu
|
||||||
allow_sudo: true
|
allow_sudo: true
|
||||||
|
|
Loading…
Reference in a new issue