forked from ISTI-ansible-roles/ansible-roles
shinyproxy: add a task that pulls the new images.
This commit is contained in:
parent
cb8cc3f356
commit
cc74bb44f1
|
@ -20,7 +20,7 @@
|
||||||
- name: Install the shinyproxy configuration file
|
- name: Install the shinyproxy configuration file
|
||||||
template: src=shinyproxy-conf.yml.j2 dest={{ shinyproxy_install_dir }}/application.yml owner=root group={{ shinyproxy_user }} mode=0640
|
template: src=shinyproxy-conf.yml.j2 dest={{ shinyproxy_install_dir }}/application.yml owner=root group={{ shinyproxy_user }} mode=0640
|
||||||
notify: Restart shinyproxy
|
notify: Restart shinyproxy
|
||||||
tags: [ 'shinyproxy', 'shinyproxy_conf' ]
|
tags: [ 'shinyproxy', 'shinyproxy_conf', 'shinyproxy_images' ]
|
||||||
|
|
||||||
- name: Install the shinyproxy logrotate configuration
|
- name: Install the shinyproxy logrotate configuration
|
||||||
template: src=shinyproxy-logrotate.j2 dest=/etc/logrotate.d/shinyproxy owner=root group=root mode=0444
|
template: src=shinyproxy-logrotate.j2 dest=/etc/logrotate.d/shinyproxy owner=root group=root mode=0444
|
||||||
|
@ -29,6 +29,12 @@
|
||||||
- name: Ensure that the shinyproxy service is enabled and running
|
- name: Ensure that the shinyproxy service is enabled and running
|
||||||
service: name=shinyproxy state=started enabled=yes
|
service: name=shinyproxy state=started enabled=yes
|
||||||
|
|
||||||
|
- name: Pull the Docker images of shiny apps
|
||||||
|
docker_image: name={{ item.docker_image }} pull=yes state=present
|
||||||
|
with_items: '{{ shinyproxy_apps }}'
|
||||||
|
when: shinyproxy_apps is defined
|
||||||
|
tags: [ 'shinyproxy', 'shinyproxy_images' ]
|
||||||
|
|
||||||
when: shinyproxy_install
|
when: shinyproxy_install
|
||||||
tags: shinyproxy
|
tags: shinyproxy
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue