Request resumed:
- Setup essential S.O Configuration
- Adjust network configuration
- Configure NTP and timezone
- Mount Object Storage
- Install Openstack packages on controller and compute groups
- Setup Keepalived on controller groups
- Setup HAProxy on controller groups 📍
- Deploy Memcached on controller groups
- Password Manager (Optional)
- Deploy RabbitMQ on controller groups
- Deploy MariaDB on controller groups
- Configure Ceph on storage groups 📍
- necessary packages:
yum install -y epel-release openssh-clients nmap coreutils
- for command with redirect
for ip in $(nmap -sn 10.66.66.0/24 | grep -oP '\d+\.\d+\.\d+\.\d+');do echo -e "$(ssh -qi ~/.ssh/ansible.key -o StrictHostKeyChecking=no $ip hostname -s) ansible_host=$ip"|tee -a /tmp/inventory-tmp.txt;done
- Checking syntax
ansible-playbook --private-key=~/.ssh/ansible.key -vi inventory-tmp.ini first-playbook.yml --syntax-check -vvv
- Executing/Running
ansible-playbook --private-key=~/.ssh/ansible.key -vi inventory-tmp.ini first-playbook.yml
- Load environment variables from openrc file
source ~/Downloads/app-cred-cli-myproject-openrc.sh
- Create ec2 credentials
openstack ec2 credentials create
- View ec2 credentials
openstack ec2 credentials list
$ tree
.
├── date-configuration.yaml
├── ec2_credentials.j2
├── kernel-parameters.yaml
├── LICENSE
├── memcache-setup.yaml
├── network-interface-change.yaml
├── object-storage-mountpoint.yaml
├── openstack-inventory.ini
├── packages-and-update-playbook.yaml
├── packages-openstack.yaml
├── README.md
└── selinux-disabling.yaml