Skip to content

Commit

Permalink
Removing references to ansibleee Role struct
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
  • Loading branch information
jpodivin committed Aug 31, 2023
1 parent ac5d892 commit cacf1c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 32 deletions.
17 changes: 1 addition & 16 deletions pkg/ceilometercompute/ansibleee.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,7 @@ func AnsibleEE(

ansibleeeSpec := ansibleeev1.NewOpenStackAnsibleEE(ServiceName)

role := &ansibleeev1.Role{
Strategy: "free",
Become: true,
Tasks: []ansibleeev1.Task{
{
Name: "Deploy ceilometer",
ImportRole: ansibleeev1.ImportRole{
Name: "osp.edpm.edpm_telemetry",
TasksFrom: instance.Spec.Playbook,
},
Tags: []string{"edpm_telemetry"},
},
},
}

ansibleeeSpec.Role = role
ansibleeeSpec.Playbook = "osp.edpm.deploy_edpm_telemetry_ceilometer"

ansibleeeSpec.Env = []corev1.EnvVar{
{Name: "ANSIBLE_FORCE_COLOR", Value: "True"},
Expand Down
17 changes: 1 addition & 16 deletions pkg/infracompute/ansibleee.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,7 @@ func AnsibleEE(

ansibleeeSpec := ansibleeev1.NewOpenStackAnsibleEE(ServiceName)

role := &ansibleeev1.Role{
Strategy: "free",
Become: true,
Tasks: []ansibleeev1.Task{
{
Name: "Deploy ceilometer",
ImportRole: ansibleeev1.ImportRole{
Name: "osp.edpm.edpm_telemetry",
TasksFrom: instance.Spec.Playbook,
},
Tags: []string{"edpm_telemetry"},
},
},
}

ansibleeeSpec.Role = role
ansibleeeSpec.Playbook = "osp.edpm.deploy_edpm_telemetry_infra"

ansibleeeSpec.Env = []corev1.EnvVar{
{Name: "ANSIBLE_FORCE_COLOR", Value: "True"},
Expand Down

0 comments on commit cacf1c5

Please sign in to comment.