12 lines
239 B
YAML
12 lines
239 B
YAML
---
|
|
- name: execute command
|
|
hosts: all
|
|
become: true
|
|
gather_facts: false
|
|
roles:
|
|
- role: node/execute_command
|
|
vars:
|
|
command: "{{ command }}"
|
|
|
|
# ansible-playbook playbooks/node/execute_command.yml -i inventory.ini
|