-
-
Save dmsimard/714f92feb212f606699dbfc6591f344a 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: vptbemsq$ | |
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