Skip to content

Commit

Permalink
jenkins: ensure jenkins.next is not restarted after reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain Pelisse committed Feb 2, 2024
1 parent de754ec commit a1623e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions roles/jenkins/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jenkins:
ip: "{{ known_hosts.jenkins_next.ip }}"
location: '/jenkins.next'
state: stopped
enable: no
readwrite_volumes: "{{ jenkins_service_next_readwrite_volumes }}"
readonly_volumes: "{{ jenkins_service_next_readonly_volumes }}"
add_hosts: "{{ jenkins_service_next_add_hosts }}"
Expand Down
3 changes: 2 additions & 1 deletion roles/sshd/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
- ansible.builtin.include_role:
- name: "Ensure required dependencies are installed."
ansible.builtin.include_role:
name: fast_yum_install
vars:
package_name: openssh-server
Expand Down
2 changes: 1 addition & 1 deletion roles/systemd/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
ansible.builtin.service:
name: "{{ podman_service.name }}"
state: "{{ podman_service.state | default('started') }}"
enabled: yes
enabled: "{{ podman_service.enable | default('yes') }}"
with_items: "{{ podman_services }}"
loop_control:
loop_var: podman_service

0 comments on commit a1623e6

Please sign in to comment.