https://github.com/pedrofurtado/rundeck-studies
Rundeck studies. Just for fun.
https://github.com/pedrofurtado/rundeck-studies
Last synced: about 1 month ago
JSON representation
Rundeck studies. Just for fun.
- Host: GitHub
- URL: https://github.com/pedrofurtado/rundeck-studies
- Owner: pedrofurtado
- Created: 2024-06-27T11:39:05.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-06-27T20:43:52.000Z (10 months ago)
- Last Synced: 2025-01-25T23:55:19.440Z (3 months ago)
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rundeck-studies
Rundeck studies. Just for fun.
```bash
# Create docker environment
docker-compose up --build -d
docker-compose logs -f # Wait for message "Host XXX is ready" for ubuntu containers# Configure SSH authentication between Rundeck and servers
docker-compose exec rundeck bash -c "ssh-keygen" # (Press 'Enter' for all prompts)
docker-compose exec rundeck bash -c "ssh-copy-id -o StrictHostKeyChecking=no root@linux_server_01" # (Enter 'verysecurepassword' for password prompt)
docker-compose exec rundeck bash -c "ssh-copy-id -o StrictHostKeyChecking=no root@linux_server_02" # (Enter 'verysecurepassword' for password prompt)# Follow the executions in rundeck UI, that appends log to this file:
docker-compose exec linux_server_01 bash -c "tail -f /my_log_file.txt"
docker-compose exec linux_server_02 bash -c "tail -f /my_log_file.txt"# Access the Rundeck UI
curl -L http://localhost:3009 # -L option follows redirects
```