new file mode 100644 --- /dev/null +++ b/roles/user/tasks/disable-stock.yml @@ -0,0 +1,8 @@ +--- + +- name: Disable stock users + shell: usermod -e 1 {{item}} + ignore_errors: true + with_items: + - pi + - pine64