Skip to content

Commit 1896da5

Browse files
fix: replace deploy playbook with role (#627)
fix: replace deploy playbook with role TODO: ansible-lint warnings for role will be handled in a follow up check if it's possible to move the roles/ out to the top-level to reduce the nesting run tests on TF to make sure the changes are compatible Supersedes #626 Reviewed-by: Maja Massarini Reviewed-by: Laura Barcziová
2 parents 95a7c1b + d911c47 commit 1896da5

29 files changed

+77
-464
lines changed

.ansible-lint-ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
roles/deploy/defaults/main.yml var-naming[no-role-prefix]

ansible.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[defaults]
2+
roles_path = roles/

plans/deployment.fmf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ discover:
2222
prepare:
2323
- how: ansible
2424
playbook: playbooks/oc-cluster-user.yml
25-
extra-args: "-vvv --extra-vars user=tmt"
25+
extra-args: "-vv --extra-vars user=tmt"
2626
- how: ansible
2727
playbook: playbooks/oc-cluster-setup.yml
28-
extra-args: "-vvv --extra-vars user=tmt"
28+
extra-args: "-vv --extra-vars user=tmt"
2929
- how: ansible
3030
playbook: playbooks/oc-cluster-run.yml
31-
extra-args: "-vvv --extra-vars user=tmt"
31+
extra-args: "-vv --extra-vars user=tmt"
3232
- how: ansible
3333
playbook: playbooks/oc-cluster-tests-setup.yml
34-
extra-args: "-vvv"
34+
extra-args: "-vv"
3535

3636
/local:
3737
summary: Run packit-service deployment test on a local machine managed by tmt
@@ -54,16 +54,16 @@ discover:
5454
prepare:
5555
- how: ansible
5656
playbook: playbooks/oc-cluster-user.yml
57-
extra-args: "-vvv --extra-vars user=tmt"
57+
extra-args: "-vv --extra-vars user=tmt"
5858
- how: ansible
5959
playbook: playbooks/oc-cluster-setup.yml
60-
extra-args: "-vvv --extra-vars user=tmt"
60+
extra-args: "-vv --extra-vars user=tmt"
6161
- how: ansible
6262
playbook: playbooks/oc-cluster-run.yml
63-
extra-args: "-vvv --extra-vars @./secrets/openshift-local-pull-secret.yml --extra-vars user=tmt"
63+
extra-args: "-vv --extra-vars @./secrets/openshift-local-pull-secret.yml --extra-vars user=tmt"
6464
- how: ansible
6565
playbook: playbooks/oc-cluster-tests-setup.yml
66-
extra-args: "-vvv"
66+
extra-args: "-vv"
6767

6868
/vagrant:
6969
summary: Run packit-service deployment test on a vagrant machine already up and running

0 commit comments

Comments
 (0)