diff --git a/scan.yml b/scan.yml index a8af29b..97e3347 100644 --- a/scan.yml +++ b/scan.yml @@ -88,6 +88,16 @@ register: cert tags: test + +# item.subject.CN + - debug: + msg: "{{ item.subject.CN }}" + loop: "{{ cert.results }}" + # - "{{ cert.not_after }}" + # - "{{ ansible_date_time.iso8601_basic }}" + tags: test + delegate_to: localhost + # # item.subject.CN # - debug: # msg: "{{ item.item.split('on')[-1].strip() }}" diff --git a/swarm.yml b/swarm.yml index a68b9c1..dea98b7 100644 --- a/swarm.yml +++ b/swarm.yml @@ -250,6 +250,10 @@ mode: global placement: constraints: [node.platform.os == linux] + labels: + - "io.portainer.accesscontrol.public" + # Frontend + - "traefik.enable=false" portainer: image: portainer/portainer-ce:latest