Skip to content

Commit fb21dc3

Browse files
adamruzickaehelms
authored andcommitted
Stop development services after dev proxy registration
1 parent 7f02cbd commit fb21dc3

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • development/roles/foreman_development/tasks/smart-proxy

development/roles/foreman_development/tasks/smart-proxy/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,11 @@
145145
password: "{{ foreman_development_admin_password }}"
146146
validate_certs: false
147147

148-
- name: Stop smart-proxy development service after smart proxy registration
148+
- name: Stop development services after smart proxy registration
149149
ansible.builtin.systemd:
150-
name: smart-proxy-development
150+
name: "{{ item }}-development"
151151
state: stopped
152152
enabled: false
153+
with_items:
154+
- smart-proxy
155+
- foreman

0 commit comments

Comments
 (0)