Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Common/init.sls
{% set home = pillar.get('home', '/home/ubuntu') %}
{% set user = pillar.get('user', 'ubuntu') %}
main_user:
user.present:
- name: {{ user }}
- home: {{ home }}
- createhome: True
- shell: /bin/bash
# - gid_from_name: True
- groups:
- adm
- sudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.