You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ansible/roles/pulp_site/defaults/main.yml
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,10 @@
1
1
pulp_site_url: "{{ appliances_pulp_url }}"
2
2
pulp_site_port: 8080
3
3
pulp_site_username: admin # shouldn't be changed
4
-
pulp_site_password: "{{ vault_pulp_admin_password }}"#todo make more obvious this is different from the password needed for ark (pulp_site_upstream_password)
Copy file name to clipboardExpand all lines: docs/experimental/pulp.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,18 +5,17 @@ In order to ensure reproducible builds, the appliance can build images using rep
5
5
## Deploying/configuring Pulp Server
6
6
7
7
### Deploying a Pulp server
8
-
A playbook is provided to install and configure a Pulp server on a given host. Admin credentials for this server are automatically generated through the `ansible/adhoc/generate-passwords.yml` playbook. To use this, create an inventory file defining a group `pulp_server` containing a single host. The hostvar `ansible_host` should be defined, giving the IP address Ansible should use for ssh.
8
+
A playbook is provided to install and configure a Pulp server on a given host. Admin credentials for this server are automatically generated through the `ansible/adhoc/generate-passwords.yml` playbook. To use this, create an inventory file defining a group `pulp_server` containing a single host, which requires at least 2 vCPUs and 4GB RAM. Deploying and syncing Pulp has been tested on an RL9 host. The hostvar `ansible_host` should be defined, giving the IP address Ansible should use for ssh. For example:
9
9
10
-
**TODO: should be RL9 (or RL8?)**
11
-
**TODO: add size required (2 vCPUs, 4GB RAM)**
12
-
**TODO: example inventory file**
10
+
```
11
+
[pulp_server]
12
+
pulp_host ansible_host=<VM-ip-address> # Note the host name can't conflict with group names i.e can't be called `pulp` or `pulp_server`
13
+
```
13
14
14
15
Once complete, it will print a message giving a value to set for `appliances_pulp_url`, assuming the `ansible_host` address is also the address the cluster
15
16
should use to reach the Pulp server.
16
17
17
-
**TODO: example config**
18
-
19
-
Note access to this server's content isn't authenticated so this assumes the `pulp_server` host is not externall reachable.
18
+
Note access to this server's content isn't authenticated so this assumes the `pulp_server` host is not externally reachable.
20
19
21
20
**TODO: You can actually do this using additional_nodes now, how would we make the pulp store persistant?**
22
21
**TODO: don't advise that, we want single server for all environments**
@@ -29,4 +28,12 @@ An existing Pulp server can be used to host Ark repos by overriding `pulp_site_p
29
28
30
29
If the `pulp` group is added to the Packer build groups, the local Pulp server will be synced with Ark on build. You must authenticate with Ark by overriding `pulp_site_upstream_username` and `pulp_site_upstream_password` with your vault encrypted Ark dev credentials. `dnf_repos_username` and `dnf_repos_password` must remain unset to access content from the local Pulp.
31
30
32
-
Content can also be synced by running `ansible/adhoc/sync-pulp.yml`. By default this syncs repositories for Rocky 9.5 <TODO: is this correct?> but this can be overridden by setting extra variables for `pulp_site_target_arch`, `pulp_site_target_distribution`, `pulp_site_target_distribution_version` and `pulp_site_target_distribution_version_major`.
31
+
Content can also be synced by running `ansible/adhoc/sync-pulp.yml`. By default this syncs repositories for the latest version of Rocky supported by the appliance but this can be overridden by setting extra variables for `pulp_site_target_arch`, `pulp_site_target_distribution` and `pulp_site_target_distribution_version`.
0 commit comments