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.
 
 

22 regels
533 B

  1. - name: Ensure directory exists
  2. file:
  3. path: "{{ Rapid7Dir }}"
  4. state: directory
  5. - name: Copy Agent installer in host
  6. copy:
  7. src: "{{ Rapid7_install_script }}"
  8. dest: "{{ Rapid7Dir }}/{{ Rapid7_install_script }}"
  9. mode: '0550'
  10. - name: Run installer script
  11. shell: "{{ Rapid7Dir }}/{{ Rapid7_install_script }} install --token {{ R7Token }}"
  12. args:
  13. creates: "{{ Rapid7Dir }}/ir_agent"
  14. - name: Enable and start service
  15. service:
  16. name: ir_agent
  17. state: started
  18. enabled: yes