Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix config example error #40

Merged
merged 1 commit into from
Aug 28, 2020
Merged

fix config example error #40

merged 1 commit into from
Aug 28, 2020

Conversation

ilvsx
Copy link
Contributor

@ilvsx ilvsx commented Jul 22, 2020

[sshw] 2020/07/22 10:06:19 [error] load config error yaml: line 2: mapping values are not allowed in this context

- name: server with jump
   user: appuser
   host: 192.168.8.35
   port: 22
   password: 123456
   jump:
   - user: appuser
     host: 192.168.8.36
     port: 2222

fix:

- name: server with jump
  user: appuser
  host: 192.168.8.35
  port: 22
  password: 123456
  jump:
  - user: appuser
    host: 192.168.8.36
    port: 2222

[sshw] 2020/07/22 10:06:19 [error] load config error yaml: line 2: mapping values are not allowed in this context

```
- name: server with jump
   user: appuser
   host: 192.168.8.35
   port: 22
   password: 123456
   jump:
   - user: appuser
     host: 192.168.8.36
     port: 2222
```

fix:

```
- name: server with jump
  user: appuser
  host: 192.168.8.35
  port: 22
  password: 123456
  jump:
  - user: appuser
    host: 192.168.8.36
    port: 2222
```
@stale
Copy link

stale bot commented Aug 21, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 21, 2020
@yinheli yinheli removed the wontfix This will not be worked on label Aug 28, 2020
@yinheli
Copy link
Owner

yinheli commented Aug 28, 2020

Thanks

@yinheli yinheli merged commit 768f25f into yinheli:master Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants