This document assume reader is familiar with the OCP4x installation process.
- Setup the
install-config.yaml
to deploy a single master and no workersapiVersion: v1 baseDomain: example.com
# roles/myrole/action_plugins/myshell.py | |
class ActionModule(ActionBase): | |
def run(self, tmp=None, task_vars=None): | |
super(ActionModule, self).run(tmp, task_vars) | |
module_args = self._task.args.copy() | |
module_args['_raw_params'] = module_args.get('cmd') | |
module_args['_uses_shell'] = True |