Skip to content

Commit

Permalink
setup_remote_dir cleanup:
Browse files Browse the repository at this point in the history
Remove dependencies on "setup_remote_dir" where it's not being used.
Move path to /var/tmp (/tmp is often tmpfs and can cause problems)
  • Loading branch information
tremble committed Apr 21, 2022
1 parent 00026bc commit 9336951
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 14 deletions.
3 changes: 1 addition & 2 deletions tests/integration/targets/aws_eks_cluster/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
dependencies:
- setup_remote_tmp_dir
dependencies: []
3 changes: 1 addition & 2 deletions tests/integration/targets/aws_msk_cluster/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
dependencies:
- setup_remote_tmp_dir
dependencies: []
3 changes: 1 addition & 2 deletions tests/integration/targets/aws_msk_config/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
dependencies:
- setup_remote_tmp_dir
dependencies: []
3 changes: 1 addition & 2 deletions tests/integration/targets/aws_region_info/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
dependencies:
- setup_remote_tmp_dir
dependencies: []
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
dependencies:
- setup_ec2_facts
- setup_remote_tmp_dir
- role: setup_botocore_pip
vars:
boto3_version: "1.20.30"
3 changes: 1 addition & 2 deletions tests/integration/targets/ecs_cluster/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
dependencies:
- setup_remote_tmp_dir
dependencies: []
3 changes: 1 addition & 2 deletions tests/integration/targets/elb_application_lb/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
dependencies:
- setup_remote_tmp_dir
dependencies: []
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- name: create temporary directory
tempfile:
path: /var/tmp
state: directory
suffix: .test
register: remote_tmp_dir
Expand Down
1 change: 0 additions & 1 deletion tests/integration/targets/wafv2/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
dependencies:
- setup_remote_tmp_dir
- role: setup_botocore_pip
vars:
boto3_version: "1.18.0"
Expand Down

0 comments on commit 9336951

Please sign in to comment.