roles/disable_stock_users/tasks/main.yml

Fri, 16 Aug 2019 21:09:01 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 16 Aug 2019 21:09:01 -0400
changeset 96
a0ea6b72d9ed
parent 89
86248a83a3dd
permissions
-rw-r--r--

this is all redundant now

72
33181d87b149 disable stock users (pi, pine64, etc)
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 ---
76
9c024e39a565 clean up task names
Meredith Howard <mhoward@roomag.org>
parents: 73
diff changeset
2 - name: "Disable stock users"
89
86248a83a3dd apply ansible-lint suggestions
Meredith Howard <mhoward@roomag.org>
parents: 88
diff changeset
3 shell: "usermod -e 1 {{ item }}"
72
33181d87b149 disable stock users (pi, pine64, etc)
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 ignore_errors: true
33181d87b149 disable stock users (pi, pine64, etc)
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 with_items:
33181d87b149 disable stock users (pi, pine64, etc)
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 - pi
33181d87b149 disable stock users (pi, pine64, etc)
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 - pine64

mercurial