File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change 7
7
name : " {{ pulp_server }}"
8
8
group : " _pulp_host"
9
9
10
- - name : Install pulp on server
10
+ - name : Install pulp on server and add to config
11
11
become : yes
12
12
hosts : _pulp_host
13
13
tasks :
14
- - ansible.builtin.import_role :
14
+
15
+ - name : Install pulp
16
+ ansible.builtin.include_role :
15
17
name : pulp_site
16
18
tasks_from : install.yml
19
+ public : true
17
20
18
- - name : Add pulp host to environment
19
- hosts : localhost
20
- tasks :
21
- - ansible.builtin.copy :
21
+ - name : Add pulp host to environment
22
+ become : no
23
+ delegate_to : localhost
24
+ ansible.builtin.copy :
22
25
dest : " {{ lookup('env', 'APPLIANCES_ENVIRONMENT_ROOT') }}/inventory/group_vars/all/pulp_server.yml"
23
26
content : |
24
27
# ansible managed
25
- appliances_pulp_url: "http://{{ pulp_server }}"
28
+ appliances_pulp_url: "http://{{ pulp_server }}:{{ pulp_site_port }}"
29
+
30
+ # - name: Add pulp host to environment
31
+ # hosts: localhost
32
+ # tasks:
33
+ # - ansible.builtin.copy:
34
+ # dest: "{{ lookup('env', 'APPLIANCES_ENVIRONMENT_ROOT') }}/inventory/group_vars/all/pulp_server.yml"
35
+ # content: |
36
+ # # ansible managed
37
+ # appliances_pulp_url: "http://{{ pulp_server }}:{{ pulp_site_port }}"
You can’t perform that action at this time.
0 commit comments