Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- USER ON TOWER
- 1 sudo poweroff
- 2 sudo -i
- 3 su -
- 4 ssh-keygen
- 5 ssh-copy-id ansible1
- 6 sudo vim /etc/hosts
- 7 ssh-copy-id ansible1
- 8 ssh-copy-id ansible2
- 9 ssh ansible2
- 10 free -m
- 11 df -h
- 12 lscpu
- 13 cat /etc/redhat-release
- 14 getenforce
- 15 setenforce permissive
- 16 sudo setenforce permissive
- 17 sudo systemctl status firewalld
- 18 ls
- 19 history
- 20 git clone https://github.com/sandervanvugt/rhce8-live
- 21 cd rhce8-live/
- 22 ./countdown 12
- 23 ./countdown 13
- 24 history
- ROOT ON TOWER
- 1 ip a
- 2 cd /home/ansible/
- 3 ls
- 4 cat license_9aa73d54050441819fe14afe8cd5b919.txt
- 5 tar xvf ansible-tower-setup-latest-2.tar
- 6 cd ansible-tower-setup-3.6.3-1/
- 7 ls
- 8 vim inventory
- 9 less setup.sh
- 10 ./setup.sh
- 11 free -m
- 12 poweroff
- 13 cd /home/ansible/
- 14 ls
- 15 cd ansible-tower-setup-3.6.3-1/
- 16 ./setup.sh
- 17 vim /etc/hosts
- 18 ip a
- 19 cd
- 20 exit
- 21 history
- USER ON AWX
- 1 git clone https://github.com/sandervanvugt/tower
- 2 cd
- 3 git clone https://github.com/sandervanvugt/tower
- 4 cd tower/
- 5 ls
- 6 cd ..
- 7 git clone https://github.com/sandervanvugt/rhce8
- 8 cd rhce8/
- 9 ls
- 10 cd ..
- 11 git clone https://github.com/sandervanvugt/rhce8-live
- 12 cd rhce8-live/
- 13 ./countdown 12
- 14 su -
- 15 sudo git clone https://github.com/ansible/awx
- 16 sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
- 17 sudo yum remove podman
- 18 sudo yum install docker-ce docker-ce-cli containerd.io --nobest
- 19 sudo systemctl enable --now docker
- 20 sudo usermod -aG docker ansible
- 21 newgrp docker
- 22 sudo ln -s /usr/bin/python3 /usr/bin/python
- 23 sudo pip3 install docker-compose
- 24 vim awx/installer/inventory
- 25 suo vim awx/installer/inventory
- 26 sudo vim awx/installer/inventory
- 27 cd awx/installer/
- 28 ansible-playbook -i inventory install.yml
- 29 ip a
- 30 sudo vim /etc/hosts
- 31 cd
- 32 ssh-keygen
- 33 ssh-copy-id ansible1
- 34 ssh-copy-id ansible2
- 35 ssh ansible1
- 36 ssh ansible2
- 37 docker ps
- 38 docker logs -f awx_task
- 39 sudo reboot
- 40 sudo -i
- 41 history
- ROOT ON AWX
- [root@awx2 ~]# history
- 1 cat /etc/redhat-release
- 2 systemctl disable --now firewalld
- 3 vim /etc/sysconfig/selinux
- 4 setenforce 0
- 5 yum install -y epel-release
- 6 yum install -y git bash-completion ansible yum-utils device-mapper-persistent-data lvm2
- 7 exit
- 8 pwd
- 9 cd /home/ansible/awx/
- 10 cd installer/
- 11 ls
- 12 vim inventory
- 13 ansible-playbook -i inventory install.yml
- 14 docker ps
- 15 docker logs -f awx_task
- 16 vim inventory
- 17 docker logs -f awx_task
- 18 exit
- 19 history
Add Comment
Please, Sign In to add comment