Skip to content

Commit

Permalink
Add screen, and a way to specify RPMs
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Dec 13, 2024
1 parent 21055d8 commit 3698b19
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
11 changes: 11 additions & 0 deletions roles/semaphore/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
---
desired_state: present
semaphore_download_package: true
semaphore_dependencies:
- ansible-core
- python3.12-devel
- python3.12-pip
- python3.12-pip-wheel
- psmisc
- rsync
- screen
- tar
- zip

verify_state: true
# Easier debugging
debug: false
Expand Down
15 changes: 6 additions & 9 deletions roles/semaphore/tasks/present.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
- name: Install packages
ansible.builtin.package:
name:
- ansible-core
- psmisc
- python3.12-devel
- python3.12-pip
- python3.12-pip-wheel
- rsync
- tar
- zip
name: "{{ item }}"
state: present
register: package_install
until: package_install is success
retries: 10
delay: 2
with_items: "{{ semaphore_dependencies }}"

- name: Relax SELinux
ansible.posix.selinux:
Expand Down

0 comments on commit 3698b19

Please sign in to comment.