19 lines
471 B
YAML
19 lines
471 B
YAML
- name: Configure SSH and add user accounts
|
|
hosts: all
|
|
become: true
|
|
gather_facts: true
|
|
|
|
roles:
|
|
- role: slococo.playground.ssh_config
|
|
- role: slococo.playground.local_accounts
|
|
vars:
|
|
local_accounts_list:
|
|
- name: local_adm
|
|
shell: /bin/bash
|
|
userid: 38000087
|
|
- name: local_log
|
|
shell: /bin/sh
|
|
userid: 38000088
|
|
expiry_date: '2024-12-31'
|
|
passwordless: true
|