Pārlūkot izejas kodu

conditionals

master
Markus Katharina Brechtel pirms 7 gadiem
vecāks
revīzija
fe33a64941
3 mainītis faili ar 11 papildinājumiem un 3 dzēšanām
  1. +11
    -2
      tasks/main.yml
  2. +0
    -1
      tasks/user_groups.yml
  3. +0
    -0
      tasks/users.yml

+ 11
- 2
tasks/main.yml Parādīt failu

@@ -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
when: users is defined

- include: ssh.yml
when: users is defined

- include: linger.yml
when: users is defined

tasks/groups.yml → tasks/user_groups.yml Parādīt failu

@@ -5,4 +5,3 @@
name: "{{ item }}"
gid: "{{ user_groups[item].gid }}"
with_items: "{{ user_groups.keys() }}"
when: user_groups is defined

tasks/user.yml → tasks/users.yml Parādīt failu


Notiek ielāde…
Atcelt
Saglabāt