Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ce7elem committed Mar 13, 2024
1 parent 5095f03 commit 338dfdd
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ impl Default for AnsibleConnectionOptions {
}

impl AnsibleConnectionOptions {
const ASK_PASS_FLAG: &str = "--ask-pass";
const CONNECTION_FLAG: &str = "--connection";
const PRIVATE_KEY_FLAG: &str = "--private-key";
const SCP_EXTRA_ARGS_FLAG: &str = "--scp-extra-args";
const SFTP_EXTRA_ARGS_FLAG: &str = "--sftp-extra-args";
const SSH_COMMON_ARGS_FLAG: &str = "--ssh-common-args";
const SSH_EXTRA_ARGS_FLAG: &str = "--ssh-extra-args";
const TIMEOUT_FLAG: &str = "--timeout";
const USER_FLAG: &str = "--user";
const ASK_PASS_FLAG: &'static str = "--ask-pass";
const CONNECTION_FLAG: &'static str = "--connection";
const PRIVATE_KEY_FLAG: &'static str = "--private-key";
const SCP_EXTRA_ARGS_FLAG: &'static str = "--scp-extra-args";
const SFTP_EXTRA_ARGS_FLAG: &'static str = "--sftp-extra-args";
const SSH_COMMON_ARGS_FLAG: &'static str = "--ssh-common-args";
const SSH_EXTRA_ARGS_FLAG: &'static str = "--ssh-extra-args";
const TIMEOUT_FLAG: &'static str = "--timeout";
const USER_FLAG: &'static str = "--user";

/// Returns a list of connection options flags to be used on
/// ansible-playbook execution
Expand Down Expand Up @@ -146,10 +146,10 @@ pub struct AnsiblePrivilegeEscalationOptions {
}

impl AnsiblePrivilegeEscalationOptions {
const ASK_BECOME_PASS_FLAG: &str = "--ask-become-pass";
const BECOME_FLAG: &str = "--become";
const BECOME_METHOD_FLAG: &str = "--become-method";
const BECOME_USER_FLAG: &str = "--become-user";
const ASK_BECOME_PASS_FLAG: &'static str = "--ask-become-pass";
const BECOME_FLAG: &'static str = "--become";
const BECOME_METHOD_FLAG: &'static str = "--become-method";
const BECOME_USER_FLAG: &'static str = "--become-user";

/// returns a list of privilege escalation options flags to be used on
/// ansible-playbook execution
Expand Down

0 comments on commit 338dfdd

Please sign in to comment.