Skip to content

Commit

Permalink
updated var and remove packages tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
$GITHUB_ACTOR committed Jan 3, 2025
1 parent f6cc8ea commit ea9622a
Show file tree
Hide file tree
Showing 16 changed files with 85 additions and 7 deletions.
10 changes: 6 additions & 4 deletions roles/gateway/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,14 @@
path: "{{ workingdir.path }}"
state: absent

- name: Uninstall gcc packages
- name: Uninstall gateway build packages
ansible.builtin.dnf:
name: "{{ item }}"
allowerasing: true
autoremove: true
state: absent
with_items:
- gcc
- gcc-c++
with_items: "{{ gateway_build_packages }}"
when:
- gateway_build_packages is defined
- gateway_build_packages is iterable
- gateway_build_packages | length > 0
6 changes: 6 additions & 0 deletions roles/gateway/vars/2022.1-redhat-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ gateway_packages:
- make
- sqlite-devel

gateway_build_packages:
- gcc-c++
- make
- sqlite-devel
- python39-devel

python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
6 changes: 6 additions & 0 deletions roles/gateway/vars/2022.1-rocky-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ gateway_packages:
- make
- sqlite-devel

gateway_build_packages:
- gcc-c++
- make
- sqlite-devel
- python39-devel

Check failure on line 14 in roles/gateway/vars/2022.1-rocky-8.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[trailing-spaces]

Trailing spaces
python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
6 changes: 6 additions & 0 deletions roles/gateway/vars/2023.1-redhat-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ gateway_packages:
- make
- sqlite-devel

gateway_build_packages:
- gcc-c++
- make
- sqlite-devel
- python39-devel

Check failure on line 14 in roles/gateway/vars/2023.1-redhat-8.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[trailing-spaces]

Trailing spaces
python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
5 changes: 5 additions & 0 deletions roles/gateway/vars/2023.1-redhat-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ gateway_packages:
- gcc-c++
- make

gateway_build_packages:
- gcc-c++
- make
- python39-devel

python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
6 changes: 6 additions & 0 deletions roles/gateway/vars/2023.1-rocky-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ gateway_packages:
- make
- sqlite-devel

gateway_build_packages:
- gcc-c++
- make
- sqlite-devel
- python39-devel

python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
5 changes: 5 additions & 0 deletions roles/gateway/vars/2023.1-rocky-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ gateway_packages:
- gcc-c++
- make

gateway_build_packages:
- gcc-c++
- make
- python3-devel

python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
6 changes: 6 additions & 0 deletions roles/gateway/vars/2023.2-redhat-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ gateway_packages:
- make
- sqlite-devel

gateway_build_packages:
- gcc-c++
- make
- sqlite-devel
- python39-devel

python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
5 changes: 5 additions & 0 deletions roles/gateway/vars/2023.2-redhat-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ gateway_packages:
- gcc-c++
- make

gateway_build_packages:
- gcc-c++
- make
- python3-devel

python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
6 changes: 6 additions & 0 deletions roles/gateway/vars/2023.2-rocky-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ gateway_packages:
- make
- sqlite-devel

gateway_build_packages:
- gcc-c++
- make
- sqlite-devel
- python39-devel

python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
5 changes: 5 additions & 0 deletions roles/gateway/vars/2023.2-rocky-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ gateway_packages:
- gcc-c++
- make

gateway_build_packages:
- gcc-c++
- make
- python3-devel

python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
6 changes: 6 additions & 0 deletions roles/gateway/vars/2023.3-redhat-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ gateway_packages:
- make
- sqlite-devel

gateway_build_packages:
- gcc-c++
- make
- sqlite-devel
- python39-devel

python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
5 changes: 5 additions & 0 deletions roles/gateway/vars/2023.3-redhat-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ gateway_packages:
- gcc-c++
- make

gateway_build_packages:
- gcc-c++
- make
- python3-devel

python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
6 changes: 6 additions & 0 deletions roles/gateway/vars/2023.3-rocky-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ gateway_packages:
- make
- sqlite-devel

gateway_build_packages:
- gcc-c++
- make
- sqlite-devel
- python39-devel

python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
5 changes: 5 additions & 0 deletions roles/gateway/vars/2023.3-rocky-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ gateway_packages:
- gcc-c++
- make

gateway_build_packages:
- gcc-c++
- make
- python3-devel

python_version: 3.9
python_executable: "/usr/bin/python{{ python_version }}"
pip_executable: "/usr/bin/pip{{ python_version }}"
Expand Down
4 changes: 1 addition & 3 deletions roles/redis/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,4 @@
allowerasing: true
autoremove: true
state: absent
with_items:
- gcc
- gcc-c++
with_items: "{{ redis_build_packages[ansible_distribution_major_version] }}"

Check failure on line 102 in roles/redis/tasks/main.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[new-line-at-end-of-file]

No new line character at the end of file

0 comments on commit ea9622a

Please sign in to comment.