Ansible: Disable users

From Glitchdata
Jump to navigation Jump to search
---
- hosts: all
  sudo: yes

  tasks:
  - name: Expire an existing user
    user:
     name: myusername
     expires : 1486509032

Links