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 77 name : " {{ pulp_server }}"
88 group : " _pulp_host"
99
10- - name : Install pulp on server
10+ - name : Install pulp on server and add to config
1111 become : yes
1212 hosts : _pulp_host
1313 tasks :
14- - ansible.builtin.import_role :
14+
15+ - name : Install pulp
16+ ansible.builtin.include_role :
1517 name : pulp_site
1618 tasks_from : install.yml
19+ public : true
1720
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 :
2225 dest : " {{ lookup('env', 'APPLIANCES_ENVIRONMENT_ROOT') }}/inventory/group_vars/all/pulp_server.yml"
2326 content : |
2427 # 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