Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - name: create users
- hosts: localhost
- tasks:
- - name: create local users
- debug:
- msg: here we create local users
- - name: create remote users
- hosts: ansible2.example.com
- tasks:
- - name: create remote users
- debug:
- msg: here we create all the users
- - name: set passwords
- debug:
- msg: here we set passwords
- - name: copy SSH keys
- debug:
- msg: here we copy SSH keys
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement