Created
April 12, 2018 11:21
-
-
Save martbhell/da166decadc5c8c13d2b5ddb0c0d098f to your computer and use it in GitHub Desktop.
ansible role users test playbook
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: first add a few users that we later remove | |
hosts: testhost | |
gather_facts: False | |
vars: | |
- bootstrap_user: cloud-user | |
- adminusers: | |
- {name: admin6, state: 'present', uid: 5006, group: "{{admingroup}}", shell: "{{adminshell}}" } | |
- moreusers: | |
- {name: user4, state: 'present', uid: 6004 } | |
roles: | |
- ../ansible-role-users |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment