Difference between revisions of "The following modules failed to execute: ansible.legacy.setup"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
The following modules failed to execute: [[ansible.legacy.setup]] | The following modules failed to execute: [[ansible.legacy.setup]] | ||
+ | |||
+ | |||
+ | Solution: | ||
+ | #!/usr/bin/env ansible-playbook | ||
+ | |||
+ | - hosts: localhost | ||
+ | [[gather_facts]]: no | ||
+ | |||
Line 5: | Line 13: | ||
== See also == | == See also == | ||
+ | * {{gather_facts}} | ||
* {{Ansible}} | * {{Ansible}} | ||
[[Category:Ansible]] | [[Category:Ansible]] |
Revision as of 12:44, 5 February 2024
The following modules failed to execute: ansible.legacy.setup
Solution: #!/usr/bin/env ansible-playbook - hosts: localhost gather_facts: no
See also
gather_facts, ansible localhost -m setup
- 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: