No video

Ansible getversion of the remote server and create a csv 3/3.

  Рет қаралды 1,270

Rickytik Devops

Rickytik Devops

Күн бұрын

Install AWX, follow below youtube,
• How to install Ansible...
Instruction cli on centos7,
su - root
cd ~
getenforce
vi /etc/selinux/config
sudo reboot now
getenforce
yum install -y epel-release
yum repolist
chattr -i /etc/resolv.conf
vi /etc/resolv.conf
systemctl restart network
systemctl status firewalld #just disable firewalld
ping github.com
yum install -y git gcc gcc-c++ ansible nodejs gettext device-mapper-persistent-data lvm2 python3-pip vim wget
wget https-download.docker.com/linux/centos/docker-ce.repo --directory-prefix /etc/yum.repos.d/ # url remove?!? figure out urself
yum install -y docker-ce #make sure this install not "docker"
systemctl start docker
systemctl enable docker
ssh-keygen
pip3 install -U pip setuptools
pip3 install docker-compose
git clone -b 17.1.0 https-github.com/ansible/awx.git # version 17 # url remove?!? figure out urself
$openssl rand -base64 30
sVXN426UfaQ/LGDaxsRXfExwWMq1ouXDsp8eAFx1
sed 's/postgres_data_dir=\"~\/.awx\/pgdocker\"/postgres_data_dir=\"\/var\/lib\/awx\/pgdocker"/g' -i ~/awx/installer/inventory
sed 's/docker_compose_dir=\"~\/.awx\/awxcompose\"/docker_compose_dir=\"\/var\/lib\/awx\/pgdocker\"/g' -i ~/awx/installer/inventory
sed 's/pg_database=awx/pg_database=postgres/g' -i ~/awx/installer/inventory
sed 's/admin_user=admin/admin_user=ric/g' -i ~/awx/installer/inventory
sed 's/# admin_password=password/admin_password=ric/g' -i ~/awx/installer/inventory
sed 's/secret_key=awxsecret/secret_key=sVXN426UfaQ\/LGDaxsRXfExwWMq1ouXDsp8eAFx1/g' -i ~/awx/installer/inventory
sed 's/#awx_alternate_dns_servers=\"10.1.2.3,10.2.3.4\"/awx_alternate_dns_servers=\"8.8.8.8,4.4.4.4,192.168.133.2\"/g' -i ~/awx/installer/inventory
sed 's/#project_data_dir=\/var\/lib\/awx\/projects/project_data_dir=\/var\/lib\/awx\/projects/g' -i ~/awx/installer/inventory
verify,
cat ~/awx/installer/inventory | grep postgres_data_dir
cat ~/awx/installer/inventory | grep docker_compose_dir
cat ~/awx/installer/inventory | grep pg_database
cat ~/awx/installer/inventory | grep admin_user
cat ~/awx/installer/inventory | grep admin_password
cat ~/awx/installer/inventory | grep secret_key
cat ~/awx/installer/inventory | grep awx_alternate_dns_servers
cat ~/awx/installer/inventory | grep project_data_dir
ansible-playbook -i ~/awx/installer/inventory ~/awx/installer/install.yml
PUT on your browser localhost and LOGIN
Galaxies,
github.com/rv-...
github.com/rv-...
Yaml caller,
github.com/rv-...
The password shown there accidentally was already replaced...... again no take 2 and it got 2 factor oath anyways.

Пікірлер
Ansible getversion of the remote server and create a csv 2/3.
11:05
Rickytik Devops
Рет қаралды 1,4 М.
Openshift CRC with Gitlab Pipeline and Agent demo April-2024
20:45
Rickytik Devops
Рет қаралды 2,2 М.
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 17 МЛН
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Wian
Рет қаралды 6 МЛН
КАКУЮ ДВЕРЬ ВЫБРАТЬ? 😂 #Shorts
00:45
НУБАСТЕР
Рет қаралды 3,5 МЛН
3 stages CI CD pipeline with Gitlab, Helm and Openshift
29:50
Rickytik Devops
Рет қаралды 3 М.
Deploy Argocd on Openshift 4.15 -May2024
14:18
Rickytik Devops
Рет қаралды 4,6 М.
Gitlab online service with agent, group runner and pipeline
16:21
Rickytik Devops
Рет қаралды 4,6 М.
Creating IAM User and S3 Bucket Terraform
7:17
Oklen Blake
Рет қаралды 5
Adding Sonarqube and Container scanning on existing 3 stages pipeline
56:38
Why High Performers Might Be Hurting Your Team
6:42
Simon Sinek
Рет қаралды 2 М.
Github action pipeline with Helm deployment on Openshift cloud
45:51
Rickytik Devops
Рет қаралды 6 М.
Nexus Sonatype 3 IAC Demo
29:06
Rickytik Devops
Рет қаралды 1 М.
Gitlab Group Runner sharing on multiple Repositories and save it.
11:54
Rickytik Devops
Рет қаралды 3,3 М.
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 17 МЛН