User Tools

Site Tools


ansible:ansible_connection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ansible:ansible_connection [2024/07/26 14:35]
manu created
ansible:ansible_connection [2024/07/26 15:17] (current)
manu [Ansible communication methods]
Line 2: Line 2:
  
  
-ansible-doc -t connection -l+  ​ansible-doc -t connection ​-l 
 +  ansible-doc -t httpapi ​-l
  
 +===== Conection types =====
 +
 +  * Ssh with keys or password
 +  * winRM
 +  * restAPI
 +  * localhost
 +  * …
 +
 +===== Privilege elevation =====
 +
 +  * Sudo
 +  * Su
 +
 +===== Ansible variables =====
 +
 +<​code>​
 +become: true 
 +become_method:​ su 
 +become_user:​ nobody
 +become_flags:​ '-s /​bin/​sh' ​
 +</​code>​
  
  
ansible/ansible_connection.1721997315.txt.gz · Last modified: 2024/07/26 14:35 by manu