Difference between revisions of "Ansible python interpreter"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
- name: misc task on ubuntu 18.04 instance
+
- name: misc task on ubuntu 18.04 instance
  hosts: "*"
+
  hosts: "*"
  [[vars:]]
+
  [[vars:]]
    ansible_python_interpreter: /usr/bin/python3
+
    ansible_python_interpreter: /usr/bin/python3
  tasks:
+
  tasks:
    - debug: var=ansible_host
+
    - debug: var=ansible_host
  
  

Revision as of 12:13, 5 September 2022

Advertising: