Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1006 Bytes

poc.md

File metadata and controls

28 lines (17 loc) · 1006 Bytes
yum install ansible
ansible all -m shell -a "date" -i hosts
ansible all -m shell -a "getenforce" -i hosts
ansible all -m shell -a "ping -c 1 master1" -i hosts
ansible all -m shell -a "yum repolist " -i hosts
ansible all -m shell -a "wipefs -o 0x1fe /dev/sdb " -i hosts

ansible all -m shell -a "rm -fr /var/lib/heketi /var/lib/glusterfs; wipefs --all /dev/sdc -f" -i hosts

https://docs.openshift.com/container-platform/3.9/install_config/install/prerequisites.html

https://raw.githubusercontent.com/christianh814/openshift-toolbox/master/ansible_hostfiles/multimaster

ansible-playbook -i <path_to_inventory_file> /usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml

ansible-playbook -i <path_to_inventory_file> /usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml

git clone https://github.com/RedHatWorkshops/openshiftv3-ops-workshop

ansible-playbook -i <path_to_inventory_file> /usr/share/ansible/openshift-ansible/playbooks/openshift-metrics/config.yml