All checks were successful
Ansible Playbook lint / ansible-lint (push) Successful in 35s
11 lines
220 B
Bash
11 lines
220 B
Bash
#!/usr/bin/env -S bash
|
|
cat > contest.yaml <<EOF
|
|
name: "con_test"
|
|
description: "Contest to test CMS"
|
|
users:
|
|
EOF
|
|
|
|
awk '{printf "- username: \"%s\"\n password: \"%s\"\n", $1, $2}' passwd >> contest.yaml
|
|
|
|
less contest.yaml
|