24 lines
360 B
Django/Jinja
24 lines
360 B
Django/Jinja
#cloud-config
|
|
users:
|
|
- name: {{ ci_user_name }}
|
|
shell: /bin/bash
|
|
groups: [sudo]
|
|
ssh-authorized-keys:
|
|
- "{{ ssh_public_key }}"
|
|
|
|
chpasswd:
|
|
list: |
|
|
{{ ci_user_name }}:{{ ci_user_passwd_hash}}
|
|
expire: False
|
|
|
|
ssh_pwauth: True
|
|
disable_root: True
|
|
|
|
package_update: true
|
|
package_upgrade: true
|
|
packages:
|
|
- htop
|
|
- nftables
|
|
- vim
|
|
- git
|