-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from CoffeeITWorks/develop
fixes powertools and molecule tests
- Loading branch information
Showing
27 changed files
with
163 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# from GitHub, overriding the name and specifying a specific tag | ||
|
||
- src: https://github.com/robertdebock/ansible-role-powertools | ||
name: ansible-role-powertools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
--- | ||
- name: Converge | ||
hosts: all | ||
roles: | ||
- role: ansible_burp2_server | ||
tasks: | ||
- name: Include ansible_burp2_server | ||
include_role: | ||
name: ansible_burp2_server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
--- | ||
- name: Converge | ||
hosts: all | ||
roles: | ||
- role: ansible_burp2_server | ||
tasks: | ||
- name: Include ansible_burp2_server | ||
include_role: | ||
name: ansible_burp2_server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
--- | ||
- name: Converge | ||
hosts: all | ||
roles: | ||
- role: ansible_burp2_server | ||
tasks: | ||
- name: Include ansible_burp2_server | ||
include_role: | ||
name: ansible_burp2_server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
- name: Converge | ||
hosts: all | ||
tasks: | ||
- name: Include ansible_burp2_server | ||
include_role: | ||
name: ansible_burp2_server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
# https://www.ansible.com/blog/developing-and-testing-ansible-roles-with-molecule-and-podman-part-1 | ||
# sudo setsebool -P container_manage_cgroup 1 | ||
dependency: | ||
name: galaxy | ||
options: | ||
ignore-certs: True | ||
ignore-errors: True | ||
role-file: dev_requirements.yml # this file is at the root of the git project same place as molecule is executed | ||
driver: | ||
name: podman | ||
platforms: | ||
|
||
- name: ansible_burp2_server-04 | ||
image: "docker.io/geerlingguy/docker-centos8-ansible" | ||
command: /usr/sbin/init | ||
#privileged: True | ||
pre_build_image: true | ||
capabilities: | ||
- SYS_ADMIN | ||
tmpfs: | ||
- /run | ||
- /tmp | ||
volumes: | ||
- "/sys/fs/cgroup:/sys/fs/cgroup:ro" | ||
groups: | ||
- use_pip_package | ||
|
||
provisioner: | ||
name: ansible | ||
config_options: | ||
defaults: | ||
callbacks_enabled: profile_tasks, timer, yaml | ||
interpreter_python: auto_silent | ||
ssh_connection: | ||
pipelining: false | ||
ssh_args: -o ControlMaster=auto -o ControlPersist=60s | ||
inventory: | ||
group_vars: | ||
master: | ||
burpsrcext: "zip" | ||
burp_version: "master" | ||
burp_server_port_per_operation_bool: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
# This is an example playbook to execute Ansible tests. | ||
|
||
- name: Verify | ||
hosts: all | ||
tasks: | ||
- name: Example assertion | ||
assert: | ||
that: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
--- | ||
- name: Converge | ||
hosts: all | ||
roles: | ||
- role: ansible_burp2_server | ||
tasks: | ||
- name: Include ansible_burp2_server | ||
include_role: | ||
name: ansible_burp2_server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.