Ansible Playbook to install and configure Red Hat OpenStack Platform 10 director on a pre-provisioned RHEL 7.3 host
- Machine with RHEL 7.3 installed and 1 interface configured for OpenStack External Network IP
- Public key authentication set for root user
$ ssh-copy-id root@undercloud - Red Hat Network user account with Red Hat OpenStack Platform Subscription available
- Checkout this repository
- Configure roles/rhosp_director/vars/main.yml to match your environment
- Create a vaut file at roles/rhosp_director/vars/vault
$ ansible-vault create roles/rhosp_director/vars/vault
- Start RHEL system slotted for RHOSP-d installation
- Make sure you can ssh to the RHOSP-d machine as root without having to enter a password
- Run the playbook
$ ansible-playbook --ask-vault-pass -i hosts site.yml
vault_rhn_user: Red Hat Network Account Username
vault_rhn_pwd: Red Hat Network Account Password
vault_rhn_pool_name: Subscription Manager pool name to attach to
vault_stack_user_pwd: The hashed password to use for the created stack user
NOTE: use $ openssl passwd -salt <salt> -1 <plaintext>
to create the hashed password to enter above
vault_undercloud_admin_pwd: Password to use for the admin account on the RHOSP-d installation