Difference between revisions of "Ansible python interpreter"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
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:58, 5 September 2022
- name: misc task on ubuntu 18.04 instance hosts: "*" vars: ansible_python_interpreter: /usr/bin/python3 tasks: - debug: var=ansible_host
See also
- Ansible: modules, plugins, Playbooks (examples)
ansible-playbook
,ansible-vault
,ansible-inventory
,ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
),ansible-cmdb
,gather facts
,ansible.cfg
,Ansible Molecule
, Ansible collections,register
,template
,--ask-pass
,--ask-become-pass
,remote_user:
,/etc/ansible/hosts
,ansible-doc
,ansible-lint
,.ansible/
,--forks
,--start-at-task
,changelog
,inventory
,Notify:
,ansible HOSTNAME -m ping
,gathering
,/usr/bin/ansible
,ansible -m ping
,ansible.builtin
,hosts: (Ansible)
,set fact:
,when:
,blockinfile:
,become method:
,include:
,git:
, AWX,ansible --help
, Tags, Ansible variables, versions
Advertising: