Skip to content

Commit

Permalink
Collections for molecule ansible code too.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Mar 30, 2021
1 parent 8f8971b commit 14e30dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

tasks:
- name: install netcat
package:
ansible.builtin.package:
name: "{{ netcat_package }}"
state: present
notify:
Expand All @@ -24,7 +24,7 @@
shell: nc --listen --keep-open 127.0.0.2 8080 &

- name: see if sensitive information is not exposed
uri:
ansible.builtin.uri:
url: "http://localhost:8080/"
return_content: yes
register: this
Expand All @@ -33,6 +33,6 @@

handlers:
- name: uninstall netcat
package:
ansible.builtin.package:
name: "{{ netcat_package }}"
state: absent

0 comments on commit 14e30dc

Please sign in to comment.