Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@master:/srv/salt# salt-ssh 'ssh*' install_minion.new_minion_ssh -l debug
- [DEBUG ] Reading configuration from /etc/salt/master
- [DEBUG ] Using cached minion ID from /etc/salt/minion_id: master
- [DEBUG ] Configuration file path: /etc/salt/master
- [DEBUG ] LazyLoaded flat.targets
- [DEBUG ] LazyLoaded jinja.render
- [DEBUG ] LazyLoaded yaml.render
- [DEBUG ] Jinja search path: ['/var/cache/salt/master/files/base']
- [DEBUG ] Rendered data from file: /etc/salt/roster:
- # Sample salt-ssh config file
- #web1:
- # host: 192.168.42.1 # The IP addr or DNS hostname
- # user: fred # Remote executions will be executed as user fred
- # passwd: foobarbaz # The password to use for login, if omitted, keys are used
- # sudo: True # Whether to sudo to root, not enabled by default
- #web2:
- # host: 192.168.42.12
- ssh-minion-02:
- host: 192.168.33.12
- user: vagrant
- sudo: True
- [DEBUG ] Results of YAML rendering:
- OrderedDict([('ssh-minion-02', OrderedDict([('host', '192.168.33.12'), ('user', 'vagrant'), ('sudo', True)]))])
- [INFO ] minions list: {'ssh-minion-02': OrderedDict([('host', '192.168.33.12'), ('user', 'vagrant'), ('sudo', True)])}
- [DEBUG ] LazyLoaded roots.envs
- [DEBUG ] Could not LazyLoad roots.init
- [DEBUG ] Updating roots fileserver cache
- [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://_modules/customuser.py'
- [INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://_modules/install_minion.py'
- [DEBUG ] LazyLoaded local_cache.prep_jid
- [DEBUG ] Could not LazyLoad install_minion.new_minion_ssh
- [DEBUG ] Performing shimmed, blocking command as follows:
- install_minion.new_minion_ssh
- [DEBUG ] Executed SHIM command. Command logged to TRACE
- [DEBUG ] Child Forked! PID: 3547 STDOUT_FD: 7 STDERR_FD: 10
- [DEBUG ] VT: Salt-SSH SHIM Terminal Command executed. Logged to TRACE
- [DEBUG ] RETCODE 192.168.33.12: 0
- [DEBUG ] LazyLoaded nested.output
- ssh-minion-02:
- - No matching salt environment for environment 'saltssh' found
- - No matching sls found for 'install_minion' in env 'saltssh'
Add Comment
Please, Sign In to add comment