Repos with recipes to deploy some infrastructure services
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- - name: Ensure directory exists
- file:
- path: "{{ Rapid7Dir }}"
- state: directory
-
- - name: Copy Agent installer in host
- copy:
- src: "{{ Rapid7_install_script }}"
- dest: "{{ Rapid7Dir }}/{{ Rapid7_install_script }}"
- mode: '0550'
-
- - name: Run installer script
- shell: "{{ Rapid7Dir }}/{{ Rapid7_install_script }} install --token {{ R7Token }}"
- args:
- creates: "{{ Rapid7Dir }}/ir_agent"
-
- - name: Enable and start service
- service:
- name: ir_agent
- state: started
- enabled: yes
|