Last active
January 28, 2016 23:15
-
-
Save joejulian/5a0532c25ba31f859d59 to your computer and use it in GitHub Desktop.
windows_join_domain
This file contains hidden or 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
winrepo: | |
module.run: | |
- name: pkg.refresh_db | |
install_win32net: | |
pkg.installed: | |
- name: win32net | |
- refresh_db: True | |
- require: | |
- pkg: winrepo | |
join_domain: | |
module.run: | |
- name: system.join_domain | |
- domain: {{ salt['pillar.get']('correct_windows_domain:domain') }} | |
- restart: True | |
- require: | |
- pkg: install_win32net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment