Executes raw SSH command using "raw" module. Intention of this role is to provide a way to execute raw commands in roles section of the playbook. For example to install proper Python version before executing roles.
This playbook has been tested against Fedora 25.
ansible-galaxy install hekonsek.raw,0.0
command
: Required. Raw SSH command to execute.
- hosts: localhost
remote_user: root
roles:
- { role: hekonsek.raw,0.0, vars: {command: 'yum install -y python'} }
Apache 2.0