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