Difference between revisions of "Ansible python interpreter"
Jump to navigation
Jump to search
(Created page with "{{lc}} - name: misc task on ubuntu 18.04 instance hosts: "*" vars: ansible_python_interpreter: /usr/bin/python3 tasks: - debug: var=ansible_host == See also =...") |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | - name: misc task on ubuntu 18.04 instance | + | - name: misc task on ubuntu 18.04 instance |
− | + | hosts: "*" | |
− | + | [[vars:]] | |
− | + | ansible_python_interpreter: [[/usr/bin/python3]] | |
− | + | tasks: | |
− | + | - debug: var=ansible_host | |
+ | |||
+ | [[Failed to import the required Python library]] ([[botocore]] or [[boto3]]) | ||
+ | [[Is using the discovered Python interpreter at]] | ||
== See also == | == See also == | ||
+ | * {{ansible.cfg}} | ||
* {{Ansible}} | * {{Ansible}} | ||
[[Category:Ansible]] | [[Category:Ansible]] |
Latest revision as of 16:41, 18 April 2023
- name: misc task on ubuntu 18.04 instance hosts: "*" vars: ansible_python_interpreter: /usr/bin/python3 tasks: - debug: var=ansible_host
Failed to import the required Python library (botocore or boto3) Is using the discovered Python interpreter at
See also[edit]
/etc/ansible/ansible.cfg, ./ansible.cfg, ansible-config
- 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: