Skip to content

Commit

Permalink
base-minimal: Clean env when static-ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
Spredzy committed Oct 8, 2018
1 parent aeada9a commit 4076277
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions playbooks/base-minimal/pre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@
roles:
- prepare-workspace
- role: validate-host

- hosts: static
- clean-awx-environment
4 changes: 4 additions & 0 deletions roles/clean-awx-environment/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- name: Remove {{ ansible_user_dir }}/{{ zuul.project.src_dir }}
file:
path: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"
state: absent

0 comments on commit 4076277

Please sign in to comment.