Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: Start a new AWS with ansible enabled
- hosts: workers
- become: true
- become_method: sudo
- vars:
- root_password: vptbemsq$
- tasks:
- - name: create sudo user
- password: "{{ root_password }}"
- - name: create ansadmin
- user:
- name: ansadmin
- password: "{{ root_password }}"
Add Comment
Please, Sign In to add comment