Set fact for proxy.py pid

pull/83085/head
Matt Martz 7 months ago
parent c206d4f335
commit 6367c699de
No known key found for this signature in database
GPG Key ID: 40832D88E9FC91D8

@ -1,2 +1,2 @@
- name: stop proxy.py - name: stop proxy.py
command: kill {{ proxy_py_pid.content|b64decode }} command: kill {{ proxy_py_pid }}

@ -32,7 +32,11 @@
- name: get proxy.py pid - name: get proxy.py pid
slurp: slurp:
path: '{{ remote_tmp_dir }}/proxy_py/proxy_py.pid' path: '{{ remote_tmp_dir }}/proxy_py/proxy_py.pid'
register: proxy_py_pid register: proxy_py_slurp_pid
- name: set fact for proxy.py pid
set_fact:
proxy_py_pid: '{{ proxy_py_slurp_pid.content|b64decode }}'
- name: set fact for proxy host - name: set fact for proxy host
set_fact: set_fact:

Loading…
Cancel
Save