Skip to content

Commit

Permalink
fix: add documentation example
Browse files Browse the repository at this point in the history
  • Loading branch information
ce7elem committed Sep 7, 2023
1 parent fc7c11c commit d202f59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/ansible-playbook-simple/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ fn main() {
};

match playbook.run() {
Ok(_) => println!("Yay"),
_ => panic!("Something went wrong"),
// Ok(child: std::process::Child) => ... to control the process
Ok(_) => println!("Playbook Started"),
Err(err) => panic!("Something went wrong: {}", err),
};
}

0 comments on commit d202f59

Please sign in to comment.