File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 25
25
import_playbook : " {{ hook_path if hook_path | exists else 'noop.yml' }}"
26
26
when : hook_path | exists
27
27
28
+ - import_playbook : iam.yml
29
+
28
30
- hosts : builder
29
31
become : yes
30
32
gather_facts : yes
31
33
tasks :
32
- # - import_playbook: iam.yml
33
- - name : Install FreeIPA client
34
- import_role :
35
- name : freeipa
36
- tasks_from : client-install.yml
37
- when : " 'freeipa_client' in group_names"
38
- - name : Install sssd
39
- import_role :
40
- name : sssd
41
- tasks_from : install.yml
42
- when : " 'sssd' in group_names"
43
-
44
34
# - import_playbook: filesystems.yml:
45
35
- name : Install nfs packages
46
36
dnf :
Original file line number Diff line number Diff line change 1
- - hosts : freeipa_client
1
+ - hosts : freeipa_client:!builder
2
2
tags :
3
3
- freeipa
4
4
- freeipa_server # as this is only relevant if using freeipa_server
23
23
import_role :
24
24
name : freeipa
25
25
tasks_from : client-install.yml
26
+
27
+ - hosts : freeipa_client:!builder
28
+ tags :
29
+ - freeipa
30
+ - freeipa_client
31
+ gather_facts : yes
32
+ become : yes
33
+ tasks :
26
34
- name : Enrol FreeIPA client
27
35
import_role :
28
36
name : freeipa
29
37
tasks_from : enrol.yml
30
38
31
- - hosts : freeipa_server
39
+ - hosts : freeipa_server:!builder
32
40
tags :
33
41
- freeipa
34
42
- freeipa_server
49
57
- name : Configure sssd
50
58
import_role :
51
59
name : sssd
60
+ tasks_from : " {{ 'install.yml' if appliances_mode == 'build' else 'main.yml' }}"
You can’t perform that action at this time.
0 commit comments