-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from anweshadas/ee
Adds 2.15 ee image and build update
- Loading branch information
Showing
5 changed files
with
123 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
execution-environments/2.15-minimal-with-ansible8/execution-environment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
|
||
version: 3 | ||
images: | ||
base_image: | ||
name: quay.io/fedora/fedora:latest | ||
dependencies: | ||
ansible_core: | ||
package_pip: ansible-core | ||
ansible_runner: | ||
package_pip: ansible-runner | ||
system: | ||
- openssh-clients | ||
- sshpass |
43 changes: 43 additions & 0 deletions
43
execution-environments/2.15-minimal-with-ansible8/tests.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
- name: Basic integration tests | ||
hosts: localhost | ||
gather_facts: false | ||
pre_tasks: | ||
- name: Collect some facts | ||
ansible.builtin.setup: | ||
gather_subset: | ||
- "!all" | ||
- "!any" | ||
- date_time | ||
- distribution | ||
- dns | ||
- kernel | ||
- python | ||
|
||
- name: Install ps | ||
become: true | ||
ansible.builtin.package: | ||
name: procps-ng | ||
state: latest | ||
|
||
- name: Print running Ansible processes | ||
ansible.builtin.shell: ps fauxwww | grep -i ansible | ||
changed_when: false | ||
|
||
- name: Retrieve the installed version of ansible-core | ||
ansible.builtin.shell: pip show ansible-core | awk "/Version/ {print $2}" | ||
changed_when: false | ||
register: _installed_ansible_core | ||
|
||
- name: Retrieve the installed version of ansible with pip | ||
ansible.builtin.shell: pip show ansible | awk "/Version/ {print $2}" | ||
changed_when: false | ||
register: _ansible_version_pypi | ||
|
||
tasks: | ||
- name: Validate image | ||
assert: | ||
that: | ||
- ansible_distribution == "Fedora" | ||
- ansible_distribution_release == "" | ||
- ansible_distribution_version == "38" | ||
|
22 changes: 22 additions & 0 deletions
22
execution-environments/2.15-with-ansible8/execution-environment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
|
||
version: 3 | ||
images: | ||
base_image: | ||
name: quay.io/fedora/fedora:latest | ||
dependencies: | ||
ansible_core: | ||
package_pip: ansible-core | ||
ansible_runner: | ||
package_pip: ansible-runner | ||
system: | ||
- openssh-clients | ||
- sshpass | ||
galaxy: | ||
collections: | ||
- name: ansible.posix | ||
version: 1.5.0 | ||
- name: ansible.utils | ||
version: 2.10.0 | ||
- name: ansible.windows | ||
version: 1.14.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
- name: Basic integration tests | ||
hosts: localhost | ||
gather_facts: false | ||
pre_tasks: | ||
- name: Collect some facts | ||
ansible.builtin.setup: | ||
gather_subset: | ||
- "!all" | ||
- "!any" | ||
- date_time | ||
- distribution | ||
- dns | ||
- kernel | ||
- python | ||
|
||
- name: Install ps | ||
become: true | ||
ansible.builtin.package: | ||
name: procps-ng | ||
state: latest | ||
|
||
- name: Print running Ansible processes | ||
ansible.builtin.shell: ps fauxwww | grep -i ansible | ||
changed_when: false | ||
|
||
- name: Retrieve the installed version of ansible-core | ||
ansible.builtin.shell: pip show ansible-core | awk "/Version/ {print $2}" | ||
changed_when: false | ||
register: _installed_ansible_core | ||
|
||
- name: Retrieve the installed version of ansible with pip | ||
ansible.builtin.shell: pip show ansible | awk "/Version/ {print $2}" | ||
changed_when: false | ||
register: _ansible_version_pypi | ||
|
||
tasks: | ||
- name: Validate image | ||
assert: | ||
that: | ||
- ansible_distribution == "Fedora" | ||
- ansible_distribution_release == "" | ||
- ansible_distribution_version == "38" | ||
|