roles/disable_stock_users/tasks/main.yml

Wed, 18 Sep 2019 13:08:53 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 18 Sep 2019 13:08:53 -0500
changeset 97
03ec0932507b
parent 89
86248a83a3dd
permissions
-rw-r--r--

rip bitbucket

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