mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
Improve CI (#3348)
* Remove superfluous test. * Use remote_temp_dir instead of output_dir on remote. * Read certificate from correct place. * Adjust more places. * Fix boolean. * Improve cryptography setup. * Fix java_keystore changes. * Need to copy binary from remote. * Use correct Python for serve script. * Sleep before downloading. * Use correct Python interpreter. * Avoid failing shebang test. * Fix permission error with macOS 11.1. * Avoid shebang trouble.
This commit is contained in:
parent
6b207bce4c
commit
7c43cc3faa
68 changed files with 440 additions and 394 deletions
|
@ -1,3 +1,4 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
- setup_epel
|
||||
- setup_remote_tmp_dir
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
- set_fact:
|
||||
output_dir_test: '{{ output_dir }}/test_iso_extract'
|
||||
output_test_dir: '{{ remote_tmp_dir }}/test_iso_extract'
|
||||
|
||||
- name: Install 7zip
|
||||
import_tasks: 7zip.yml
|
||||
|
|
|
@ -19,15 +19,15 @@
|
|||
|
||||
- name: Make sure our testing sub-directory does not exist
|
||||
file:
|
||||
path: '{{ output_dir_test }}'
|
||||
path: '{{ output_test_dir }}'
|
||||
state: absent
|
||||
|
||||
- name: Create our testing sub-directory
|
||||
file:
|
||||
path: '{{ output_dir_test }}'
|
||||
path: '{{ output_test_dir }}'
|
||||
state: directory
|
||||
|
||||
- name: copy the iso to the test dir
|
||||
copy:
|
||||
src: test.iso
|
||||
dest: '{{ output_dir_test }}'
|
||||
dest: '{{ output_test_dir }}'
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
|
||||
- name: Extract the iso
|
||||
iso_extract:
|
||||
image: '{{ output_dir_test }}/test.iso'
|
||||
dest: '{{ output_dir_test }}'
|
||||
image: '{{ output_test_dir }}/test.iso'
|
||||
dest: '{{ output_test_dir }}'
|
||||
files:
|
||||
- 1.txt
|
||||
- 2.txt
|
||||
|
@ -32,8 +32,8 @@
|
|||
|
||||
- name: Extract the iso again
|
||||
iso_extract:
|
||||
image: '{{ output_dir_test }}/test.iso'
|
||||
dest: '{{ output_dir_test }}'
|
||||
image: '{{ output_test_dir }}/test.iso'
|
||||
dest: '{{ output_test_dir }}'
|
||||
files:
|
||||
- 1.txt
|
||||
- 2.txt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue