|
2 | 2 | - name: Converge
|
3 | 3 | hosts: all
|
4 | 4 | tasks:
|
5 |
| - - name: Install resyncgg/ripgen |
6 |
| - # We do prepend the name of the role to the role variables, but |
7 |
| - # Molecule does its own role discovery with inconsistent naming. |
8 |
| - # This is the reason for the noqa below. |
| 5 | + # CrackMapExec itself requires that git be installed because some |
| 6 | + # of its Python dependencies are pulled directly via git. |
| 7 | + # |
| 8 | + # The following CrackMapExec dependencies require the specified |
| 9 | + # packages be installed: |
| 10 | + # * gssapi requires the krb5-config executable from the |
| 11 | + # libkrb5-dev package |
| 12 | + - name: Install CrackMapExec dependencies |
| 13 | + ansible.builtin.package: |
| 14 | + name: |
| 15 | + - git |
| 16 | + - libkrb5-dev |
| 17 | + |
| 18 | + # We do prepend the name of the role to the role variables, but |
| 19 | + # Molecule does its own role discovery with inconsistent naming. |
| 20 | + # This is the reason for the noqa below. |
| 21 | + - name: Install Porchetta-Industries/CrackMapExec |
9 | 22 | ansible.builtin.include_role: # noqa var-naming[no-role-prefix]
|
10 | 23 | name: ansible-role-assessment-tool
|
| 24 | + # The fact that CrackMapExec has Python dependencies that are |
| 25 | + # pulled directly via git means that this role cannot possibly |
| 26 | + # pass idempotence. |
| 27 | + tags: |
| 28 | + - molecule-idempotence-notest |
11 | 29 | vars:
|
12 |
| - assessment_tool_archive_src: https://github.com/resyncgg/ripgen/tarball/main |
13 |
| - assessment_tool_install_dir: /tools/ripgen |
| 30 | + assessment_tool_archive_src: > |
| 31 | + https://github.com/Porchetta-Industries/CrackMapExec/tarball/master |
| 32 | + # This is not a cargo project, although it requires a Rust |
| 33 | + # compiler. |
| 34 | + assessment_tool_cargo_build: false |
| 35 | + assessment_tool_install_dir: /tools/CrackMapExec |
| 36 | + assessment_tool_pip_packages: |
| 37 | + - . |
| 38 | + # Although this is a Python project, the dependency aardwolf |
| 39 | + # requires a Rust compiler to build its native code. |
14 | 40 | assessment_tool_rust: true
|
15 | 41 | assessment_tool_unarchive_extra_opts:
|
16 | 42 | - --strip-components=1
|
0 commit comments