CSC Ansible Playbooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
csc-playbooks/disable-login.yml

8 lines
227 B

---
- hosts: office general-use
remote_user: root
tasks:
- name: copy nologin
copy: src={{ item.src }} dest={{ item.dest }} backup=no
with_items:
- { src: 'files/nologin', dest: '/etc/nologin' }