Skip to content

Instantly share code, notes, and snippets.

@wesyoung
Last active December 10, 2017 14:24
Show Gist options
  • Select an option

  • Save wesyoung/cb9f091ec2e8ae34763ab116256a4197 to your computer and use it in GitHub Desktop.

Select an option

Save wesyoung/cb9f091ec2e8ae34763ab116256a4197 to your computer and use it in GitHub Desktop.
---
- name: copy csirtg-smrt rules
command: cp -r "/tmp/bearded-avenger-{{ cif_version }}/rules/default/" "{{ smrt_rules_path | default(smrt.rules_path) }}"
- name: Update rule permissions
file:
path: "{{ smrt_rules_path | default(smrt.rules_path) }}/default"
mode: u=rwX,g=rwX,o=
recurse: yes
owner: "{{ smrt_user | default(smrt.user) }}"
group: "{{ smrt_group | default(smrt.group) }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment