roles/disable_stock_users/tasks/main.yml

Sun, 14 Jul 2019 04:03:12 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 14 Jul 2019 04:03:12 -0500
changeset 92
3166d16a94b9
parent 89
86248a83a3dd
permissions
-rw-r--r--

Add back update/upgrade

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