Skip to content

Commit

Permalink
group user/password in a different group than SSH Auth
Browse files Browse the repository at this point in the history
  • Loading branch information
ltamaster committed Oct 10, 2024
1 parent 38e0c45 commit ee63e7f
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -372,25 +372,25 @@ public static String[] getValues() {
static final Property SSH_PASSWORD_STORAGE_PROP = PropertyBuilder.builder()
.string(ANSIBLE_SSH_PASSWORD_STORAGE_PATH)
.required(false)
.title("SSH Password Storage Path")
.description("Path to the ssh Password to use within Rundeck Storage.")
.title("Password Storage Path")
.description("Path to the Password to use within Rundeck Storage.")
.renderingOption(StringRenderingConstants.SELECTION_ACCESSOR_KEY,
StringRenderingConstants.SelectionAccessor.STORAGE_PATH)
.renderingOption(StringRenderingConstants.STORAGE_PATH_ROOT_KEY, "keys")
.renderingOption(StringRenderingConstants.STORAGE_FILE_META_FILTER_KEY, "Rundeck-data-type=password")
.renderingOption(StringRenderingConstants.GROUPING,"SECONDARY")
.renderingOption(StringRenderingConstants.GROUP_NAME,"SSH Connection")
.renderingOption(StringRenderingConstants.GROUP_NAME,"Authentication")
.build();

static final Property SSH_PASSWORD_PROP = PropertyBuilder.builder()
.string(ANSIBLE_SSH_PASSWORD)
.required(false)
.title("SSH Password")
.description("Ansible SSH password.")
.title("User Password")
.description("Ansible User Password.")
.renderingOption(StringRenderingConstants.DISPLAY_TYPE_KEY,
StringRenderingConstants.DisplayType.PASSWORD)
.renderingOption(StringRenderingConstants.GROUPING,"SECONDARY")
.renderingOption(StringRenderingConstants.GROUP_NAME,"SSH Connection")
.renderingOption(StringRenderingConstants.GROUP_NAME,"Authentication")
.build();

static final Property SSH_AUTH_TYPE_PROP = PropertyBuilder.builder()
Expand All @@ -406,10 +406,10 @@ public static String[] getValues() {
static final Property SSH_USER_PROP = PropertyBuilder.builder()
.string(ANSIBLE_SSH_USER)
.required(false)
.title("SSH User")
.description("SSH User to authenticate as (default=rundeck).")
.title("User")
.description("User to authenticate as (default=rundeck).")
.renderingOption(StringRenderingConstants.GROUPING,"SECONDARY")
.renderingOption(StringRenderingConstants.GROUP_NAME,"SSH Connection")
.renderingOption(StringRenderingConstants.GROUP_NAME,"Authentication")
.build();

static final Property SSH_TIMEOUT_PROP = PropertyBuilder.builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public class AnsibleFileCopier implements FileCopier, AnsibleDescribable, ProxyR
builder.property(BINARIES_DIR_PATH_PROP);
builder.property(INVENTORY_INLINE_PROP);
builder.property(CONFIG_FILE_PATH);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_USER_PROP);
builder.property(SSH_PASSWORD_STORAGE_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_KEY_FILE_PROP);
builder.property(SSH_KEY_STORAGE_PROP);
builder.property(SSH_TIMEOUT_PROP);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public class AnsibleNodeExecutor implements NodeExecutor, AnsibleDescribable, Pr
builder.property(WINDOWS_EXECUTABLE_PROP);
builder.property(CONFIG_FILE_PATH);
builder.property(GENERATE_INVENTORY_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_USER_PROP);
builder.property(SSH_PASSWORD_STORAGE_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_KEY_FILE_PROP);
builder.property(SSH_KEY_STORAGE_PROP);
builder.property(SSH_TIMEOUT_PROP);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ public class AnsiblePlaybookInlineWorkflowNodeStep implements NodeStepPlugin, An
builder.property(VAULT_KEY_FILE_PROP);
builder.property(VAULT_KEY_STORAGE_PROP);
builder.property(EXTRA_ATTRS_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_USER_PROP);
builder.property(SSH_PASSWORD_STORAGE_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_KEY_FILE_PROP);
builder.property(SSH_KEY_STORAGE_PROP);
builder.property(SSH_USE_AGENT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ public class AnsiblePlaybookInlineWorkflowStep implements StepPlugin, AnsibleDes
builder.property(VAULT_KEY_FILE_PROP);
builder.property(VAULT_KEY_STORAGE_PROP);
builder.property(EXTRA_ATTRS_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_USER_PROP);
builder.property(SSH_PASSWORD_STORAGE_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_KEY_FILE_PROP);
builder.property(SSH_KEY_STORAGE_PROP);
builder.property(SSH_USE_AGENT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ public class AnsiblePlaybookWorflowNodeStep implements NodeStepPlugin, AnsibleDe
builder.property(VAULT_KEY_FILE_PROP);
builder.property(VAULT_KEY_STORAGE_PROP);
builder.property(EXTRA_ATTRS_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_USER_PROP);
builder.property(SSH_PASSWORD_STORAGE_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_KEY_FILE_PROP);
builder.property(SSH_KEY_STORAGE_PROP);
builder.property(SSH_USE_AGENT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ public class AnsiblePlaybookWorkflowStep implements StepPlugin, AnsibleDescribab
builder.property(VAULT_KEY_FILE_PROP);
builder.property(VAULT_KEY_STORAGE_PROP);
builder.property(EXTRA_ATTRS_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_USER_PROP);
builder.property(SSH_PASSWORD_STORAGE_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_KEY_FILE_PROP);
builder.property(SSH_KEY_STORAGE_PROP);
builder.property(SSH_USE_AGENT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public AnsibleResourceModelSourceFactory(final Framework framework) {
builder.property(IMPORT_INVENTORY_VARS_PROP);
builder.property(IGNORE_INVENTORY_VARS_PROP);
builder.property(EXTRA_ATTRS_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_USER_PROP);
builder.property(SSH_PASSWORD_PROP);
builder.property(SSH_AUTH_TYPE_PROP);
builder.property(SSH_KEY_FILE_PROP);
builder.property(SSH_TIMEOUT_PROP);
builder.property(BECOME_PROP);
Expand Down

0 comments on commit ee63e7f

Please sign in to comment.