Created
August 11, 2014 19:26
-
-
Save scragg0x/1d5e29444e6eb134688b 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
sudo: | |
group: | |
- present | |
file.managed: | |
- name: /etc/sudoers.d/nopasswd | |
- contents: | | |
%sudo ALL=(ALL:ALL) NOPASSWD: ALL | |
- mode: 0440 | |
deploy: | |
group: | |
- present | |
user.present: | |
- shell: /bin/bash | |
- groups: | |
- deploy | |
- sudo | |
- require: | |
- group: deploy | |
- group: sudo | |
file.managed: | |
- name: /etc/security/limits.d/deploy.conf | |
- contents: | | |
@deploy soft nofile 500000 | |
@deploy hard nofile 500000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment