Skip to content

Commit 736f0d6

Browse files
committed
remove flag generate inventory at workflow step level
1 parent 0b6c7dd commit 736f0d6

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

src/main/groovy/com/rundeck/plugins/ansible/plugin/AnsiblePlaybookInlineWorkflowStep.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public class AnsiblePlaybookInlineWorkflowStep implements StepPlugin, AnsibleDes
4848
builder.property(EXTRA_VARS_PROP);
4949
builder.property(CONFIG_ENCRYPT_EXTRA_VARS);
5050
builder.property(INVENTORY_INLINE_PROP);
51-
builder.property(GENERATE_INVENTORY_PROP);
5251
builder.property(VAULT_KEY_FILE_PROP);
5352
builder.property(VAULT_KEY_STORAGE_PROP);
5453
builder.property(EXTRA_ATTRS_PROP);
@@ -67,12 +66,6 @@ public class AnsiblePlaybookInlineWorkflowStep implements StepPlugin, AnsibleDes
6766
builder.property(BECOME_PASSWORD_STORAGE_PROP);
6867
builder.property(DISABLE_LIMIT_PROP);
6968

70-
// Project and framework level mappings for inventory generation
71-
builder.mapping(ANSIBLE_GENERATE_INVENTORY, PROJ_PROP_PREFIX + ANSIBLE_GENERATE_INVENTORY);
72-
builder.frameworkMapping(ANSIBLE_GENERATE_INVENTORY, FWK_PROP_PREFIX + ANSIBLE_GENERATE_INVENTORY);
73-
builder.mapping(ANSIBLE_GENERATE_INVENTORY_NODES_AUTH, PROJ_PROP_PREFIX + ANSIBLE_GENERATE_INVENTORY_NODES_AUTH);
74-
builder.frameworkMapping(ANSIBLE_GENERATE_INVENTORY_NODES_AUTH, FWK_PROP_PREFIX + ANSIBLE_GENERATE_INVENTORY_NODES_AUTH);
75-
7669
DESC = builder.build();
7770
}
7871

src/main/groovy/com/rundeck/plugins/ansible/plugin/AnsiblePlaybookWorkflowStep.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ public class AnsiblePlaybookWorkflowStep implements StepPlugin, AnsibleDescribab
4646
builder.property(EXTRA_VARS_PROP);
4747
builder.property(CONFIG_ENCRYPT_EXTRA_VARS);
4848
builder.property(INVENTORY_INLINE_PROP);
49-
builder.property(GENERATE_INVENTORY_PROP);
5049
builder.property(VAULT_KEY_FILE_PROP);
5150
builder.property(VAULT_KEY_STORAGE_PROP);
5251
builder.property(EXTRA_ATTRS_PROP);
@@ -65,11 +64,6 @@ public class AnsiblePlaybookWorkflowStep implements StepPlugin, AnsibleDescribab
6564
builder.property(BECOME_PASSWORD_STORAGE_PROP);
6665
builder.property(DISABLE_LIMIT_PROP);
6766

68-
// Project and framework level mappings for inventory generation
69-
builder.mapping(ANSIBLE_GENERATE_INVENTORY, PROJ_PROP_PREFIX + ANSIBLE_GENERATE_INVENTORY);
70-
builder.frameworkMapping(ANSIBLE_GENERATE_INVENTORY, FWK_PROP_PREFIX + ANSIBLE_GENERATE_INVENTORY);
71-
builder.mapping(ANSIBLE_GENERATE_INVENTORY_NODES_AUTH, PROJ_PROP_PREFIX + ANSIBLE_GENERATE_INVENTORY_NODES_AUTH);
72-
builder.frameworkMapping(ANSIBLE_GENERATE_INVENTORY_NODES_AUTH, FWK_PROP_PREFIX + ANSIBLE_GENERATE_INVENTORY_NODES_AUTH);
7367

7468
DESC = builder.build();
7569
}

0 commit comments

Comments
 (0)