Verify that your Capsule Server is installed correctly, and configure an additional service in the Capsule Server.
Outcomes
Verify the current status for the Capsule Server.
Install and enable the Ansible service in the Capsule Server.
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
This command prepares your environment and ensures that all required resources are available.
[student@workstation ~]$ lab start capsule-enable
Instructions
Log in to the Satellite Server web UI, https://satellite.lab.example.com, as the admin user with redhat as the password.
In the upper-left corner of the web page, set the organization to Operations.
Set the location to Boston.
View the current status of the recently installed Capsule Server.
Verify that the Capsule Server contains no synced content. Click → , and then click . Click the tab, and notice that no content is synced to the Capsule Server from the Satellite Server.
View the current status of the Capsule Server services.
Click the tab, and notice that the capsule is running the following services: Container_Gateway, Dynflow, Content, Registration, SSH, and Templates.
Click the tab, and notice the most recent log messages about initialization of Capsule Server services.
Install and enable the Ansible service in the Capsule Server.
Log in to the capsule system as the student user and switch to the root user.
[student@workstation ~]$ssh student@capsule[student@capsule ~]$sudo -i[sudo] password for student:student[root@capsule ~]#
Review the Capsule Server options for the Foreman proxy services.
Look for the --enable-foreman-proxy-plugin-ansible option and read the description for the service to be installed.
[root@capsule ~]#satellite-installer --scenario capsule --helpUsage: satellite-installer [OPTIONS] Options: = Generic: ...output omitted... --[no-]enable-foreman-proxy Enable 'foreman_proxy' puppet module (default: true) --[no-]enable-foreman-proxy-content Enable 'foreman_proxy_content' puppet module (default: true)--[no-]enable-foreman-proxy-plugin-ansible Enable 'foreman_proxy_plugin_ansible' puppet module (default: false)--[no-]enable-foreman-proxy-plugin-dhcp-infoblox Enable 'foreman_proxy_plugin_dhcp_infoblox' puppet module (default: false) --[no-]enable-foreman-proxy-plugin-dhcp-remote-isc Enable 'foreman_proxy_plugin_dhcp_remote_isc' puppet module (default: false) --[no-]enable-foreman-proxy-plugin-discovery Enable 'foreman_proxy_plugin_discovery' puppet module (default: false) --[no-]enable-foreman-proxy-plugin-dns-infoblox Enable 'foreman_proxy_plugin_dns_infoblox' puppet module (default: false) ...output omitted...
Install the Ansible service.
[root@capsule ~]# satellite-installer --scenario capsule \
--enable-foreman-proxy-plugin-ansible
...output omitted...
Success!
* Capsule is running at https://capsule.lab.example.com:9090
The full log is at /var/log/foreman-installer/capsule.logVerify that the Ansible service is enabled in the Capsule Server.
In the Satellite web UI, click → and then click .
Click the tab and notice that the Ansible service is now listed.