Guest User

Untitled

a guest
Dec 20th, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. ansible all -m ping
  2.  
  3. localhost | UNREACHABLE! => {
  4. "changed": false,
  5. "msg": "Failed to connect to the host via ssh: ssh: connect to host localhost port 22: No route to hostrn",
  6. }
  7. 192.168.20.21 | SUCCESS => {
  8. "changed": false,
  9. "ping": "pong"
  10. }
  11.  
  12. cat /etc/group | grep -i 'oracle'
  13. ansible:x:1001:oracle
  14.  
  15. [local]
  16. localhost
  17. #192.168.20.22 ansible_ssh_pass=oracle ansible_ssh_user=oracle
  18.  
  19. [oracle12c]
  20. 192.168.20.21 ansible_ssh_pass=oracle ansible_ssh_user=oracle
  21.  
  22. 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
  23. ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
  24.  
  25. 192.168.20.21 redacted hostname
  26. 192.168.20.22 redacted hostname
Add Comment
Please, Sign In to add comment