Last active
October 10, 2018 02:42
-
-
Save joeysk2012/f1eb69628fc5a71a6c44d8c2a47a9e38 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Start a new AWS with ansible enabled | |
hosts: workers | |
become: true | |
become_method: sudo | |
vars: | |
root_password: ****** | |
tasks: | |
- name: create sudo user | |
password: "{{ root_password }}" | |
- name: create ansadmin | |
user: | |
name: ansadmin | |
password: "{{ root_password }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment