This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ka
/
ansible-role-users
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
conditionals
master
Markus Katharina Brechtel
7 years ago
parent
049d3f892e
commit
fe33a64941
3 changed files
with
11 additions
and
3 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+11
-2
tasks/main.yml
+0
-1
tasks/user_groups.yml
+0
-0
tasks/users.yml
+ 11
- 2
tasks/main.yml
View File
@@ -1,7 +1,16 @@
---
---
- include: groups.yml
- include: user.yml
- include: user_groups.yml
when: user_groups is defined
- include: users.yml
when: users is defined
- include: home.yml
- include: home.yml
when: users is defined
- include: ssh.yml
- include: ssh.yml
when: users is defined
- include: linger.yml
- include: linger.yml
when: users is defined
tasks/groups.yml → tasks/user_groups.yml
View File
@@ -5,4 +5,3 @@
name: "{{ item }}"
name: "{{ item }}"
gid: "{{ user_groups[item].gid }}"
gid: "{{ user_groups[item].gid }}"
with_items: "{{ user_groups.keys() }}"
with_items: "{{ user_groups.keys() }}"
when: user_groups is defined
tasks/user.yml → tasks/users.yml
View File
Write
Preview
Loading…
Cancel
Save