blob: 77528d984a5867f3fde67e8fca9e4ec291efa2c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
#
# From cloud config examples on cloudinit.readthedocs.io
#
# 2016-11-17: Disabled as covered by module based tests
#
enabled: False
cloud_config: |
#cloud-config
# Add groups to the system
groups:
- secret: [root]
- cloud-users
# Add users to the system. Users are added after groups are added.
users:
- default
- name: foobar
gecos: Foo B. Bar
primary_group: foobar
groups: users
expiredate: 2038-01-19
lock_passwd: false
passwd: $6$j212wezy$7H/1LT4f9/N3wpgNunhsIqtMj62OKiS3nyNwuizouQc3u7MbYCarYeAHWYPYb2FT.lbioDm2RrkJPb9BZMN1O/
- name: barfoo
gecos: Bar B. Foo
sudo: ALL=(ALL) NOPASSWD:ALL
groups: [cloud-users, secret]
lock_passwd: true
- name: cloudy
gecos: Magic Cloud App Daemon User
inactive: true
system: true
collect_scripts:
group_ubuntu: |
#!/bin/bash
getent group ubuntu
group_cloud_users: |
#!/bin/bash
getent group cloud-users
user_ubuntu: |
#!/bin/bash
getent passwd ubuntu
user_foobar: |
#!/bin/bash
getent passwd foobar
user_barfoo: |
#!/bin/bash
getent passwd barfoo
user_cloudy: |
#!/bin/bash
getent passwd cloudy
root_groups: |
#!/bin/bash
groups root
# vi: ts=4 expandtab
|