Skip to content

Instantly share code, notes, and snippets.

@dmsimard
Forked from joeysk2012/.yaml
Last active October 10, 2018 02:25
Show Gist options
  • Save dmsimard/714f92feb212f606699dbfc6591f344a to your computer and use it in GitHub Desktop.
Save dmsimard/714f92feb212f606699dbfc6591f344a to your computer and use it in GitHub Desktop.
- 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