UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit f21911fe authored by kmc-home's avatar kmc-home
Browse files

update ansible

parent 96688c79
No related merge requests found
......@@ -5,9 +5,11 @@ docker pull debian:latest
docker build -t ansible-lab-ubuntu-base -f docker/Dockerfile.ubuntu.base .
read -p "Press Enter to continue..."
docker compose build
read -p "Press Enter to continue..."
docker compose up -d
read -p "Press Enter to continue..."
source /root/woac-infra-demo/uv-env/.venv/bin/activate
cd ansible
ansible -i inventory/hosts all -m ping
ansible -i inventory/hosts all -m ping
\ No newline at end of file
......@@ -12,4 +12,4 @@ grey-2 ansible_host=172.22.0.6
[all:vars]
ansible_user=ansible
ansible_ssh_private_key_file=/root/woac-infra-demo/ansible/ansible-docker-lab/docker/keys/ansible_key
ansible_ssh_common_args='-o StrictHostKeyChecking=no'
version: '3.8'
services:
red-web:
build:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment